69 lines
1.6 KiB
Plaintext
69 lines
1.6 KiB
Plaintext
# Obarun : 66 init/supervisor
|
|
# Maintainer : Eric Vidal <eric@obarun.org>
|
|
# Maintainer : Jean-Michel T.Dydak <jean-michel@obarun.org>
|
|
# PkgSource : url="https://git.obarun.org/pkg/obcore/oblibs"
|
|
#-----------------------------------------------------------------------------------------------
|
|
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=oblibs
|
|
|
|
pkgdesc='Obarun C library'
|
|
|
|
pkgver=0.1.4.0
|
|
pkgrel=1
|
|
|
|
url='https://framagit.org/Obarun/oblibs.git'
|
|
|
|
track=tag
|
|
target="v${pkgver}"
|
|
source=("$pkgname::git+https://framagit.org/Obarun/${pkgname}#${track}=${target}")
|
|
|
|
#-------------------------------------| BUILD CONFIGURATION |-----------------------------------
|
|
|
|
makedepends=(
|
|
'git'
|
|
'skalibs>=2.11.0.0'
|
|
'execline>=2.8.1.0')
|
|
|
|
#--------------------------------------------| BUILD |------------------------------------------
|
|
|
|
build() {
|
|
cd "$pkgname"
|
|
./configure \
|
|
--prefix=/usr \
|
|
--enable-static \
|
|
--disable-shared
|
|
make
|
|
}
|
|
|
|
#-------------------------------------------| PACKAGE |-----------------------------------------
|
|
|
|
package() {
|
|
|
|
cd "$pkgname"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
install -Dm 0644 LICENSE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
|
|
}
|
|
|
|
#------------------------------------| INSTALL CONFIGURATION |----------------------------------
|
|
|
|
arch=(x86_64)
|
|
|
|
groups=(
|
|
'base'
|
|
's6-suite')
|
|
|
|
depends=(
|
|
'skalibs>=2.11.0.0'
|
|
'execline>=2.8.1.0')
|
|
|
|
|
|
#-------------------------------------| SECURITY AND LICENCE |----------------------------------
|
|
|
|
license=('ISC')
|
|
|
|
sha1sums=('SKIP')
|