41 lines
1.1 KiB
Bash
41 lines
1.1 KiB
Bash
# Template file for 'skalibs'
|
|
pkgname=skalibs
|
|
version=2.3.6.1
|
|
revision=1
|
|
nocross="yes"
|
|
build_style=gnu-configure
|
|
configure_args="--enable-static --enable-shared --enable-clock
|
|
--enable-monotonic --enable-force-devr --datadir=/usr/share/$pkgname
|
|
--libdir=/usr/lib"
|
|
short_desc="General purpose libraries for building software from skarnet.org"
|
|
maintainer="bougyman <bougyman@voidlinux.eu>"
|
|
license="ISC"
|
|
homepage="http://skarnet.org/software/skalibs/"
|
|
distfiles="http://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=bf35cb9698b15becb5c527a48e9cca0523c6e215540c19add8f8588852c2cd63
|
|
|
|
CFLAGS="-D_DEFAULT_SOURCE"
|
|
|
|
post_install() {
|
|
vlicense COPYING LICENSE
|
|
}
|
|
|
|
skalibs-doc_package() {
|
|
noarch=yes
|
|
short_desc+=" - documentation"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmkdir usr/share/doc/skalibs
|
|
vcopy "doc/*" usr/share/doc/skalibs
|
|
}
|
|
}
|
|
skalibs-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/skalibs/sysdeps
|
|
vmove usr/lib/*.a
|
|
vmove usr/lib/*.so
|
|
}
|
|
}
|