2015-06-19 15:49:57 +00:00
|
|
|
# Template file for 'skalibs'
|
|
|
|
pkgname=skalibs
|
2015-12-06 19:19:55 +00:00
|
|
|
version=2.3.8.3
|
2015-08-20 06:48:44 +00:00
|
|
|
revision=1
|
2015-09-27 07:57:50 +00:00
|
|
|
nocross=yes
|
2015-06-19 15:49:57 +00:00
|
|
|
build_style=gnu-configure
|
2015-09-27 07:57:50 +00:00
|
|
|
configure_args="--libdir=/usr/lib --enable-static --enable-shared --enable-clock
|
|
|
|
--enable-monotonic --enable-force-devr --datadir=/usr/share/$pkgname"
|
2015-06-19 15:49:57 +00:00
|
|
|
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"
|
2015-12-06 19:19:55 +00:00
|
|
|
checksum=3652e268f42ce60959dcc80ca3eba8dc17b6d365309179bfb0e04bc5f1603d7c
|
2015-06-19 15:49:57 +00:00
|
|
|
|
2015-06-20 07:33:36 +00:00
|
|
|
CFLAGS="-D_DEFAULT_SOURCE"
|
|
|
|
|
2015-06-19 16:51:50 +00:00
|
|
|
post_install() {
|
2015-06-19 20:46:01 +00:00
|
|
|
vlicense COPYING LICENSE
|
2015-06-19 16:51:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
skalibs-doc_package() {
|
2015-06-19 20:46:01 +00:00
|
|
|
noarch=yes
|
2015-06-19 16:51:50 +00:00
|
|
|
short_desc+=" - documentation"
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmkdir usr/share/doc/skalibs
|
2015-06-19 17:51:18 +00:00
|
|
|
vcopy "doc/*" usr/share/doc/skalibs
|
2015-06-19 16:51:50 +00:00
|
|
|
}
|
|
|
|
}
|
2015-06-19 15:49:57 +00:00
|
|
|
skalibs-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
2015-06-19 20:46:01 +00:00
|
|
|
vmove usr/lib/skalibs/sysdeps
|
2015-06-20 07:20:12 +00:00
|
|
|
vmove usr/lib/*.a
|
2015-06-19 20:46:01 +00:00
|
|
|
vmove usr/lib/*.so
|
2015-06-19 15:49:57 +00:00
|
|
|
}
|
|
|
|
}
|