2015-06-19 15:49:57 +00:00
|
|
|
# Template file for 'skalibs'
|
|
|
|
pkgname=skalibs
|
2015-10-05 15:00:20 +00:00
|
|
|
version=2.3.7.1
|
2015-08-20 06:48:44 +00:00
|
|
|
revision=1
|
2015-09-27 07:57:50 +00:00
|
|
|
nocross=yes
|
|
|
|
build_pie=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-10-05 15:00:20 +00:00
|
|
|
checksum=e520a6c9b51f2c83add28305d008e4e2085256518ac70ab6a2d775b1ad01fa1f
|
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
|
|
|
}
|
|
|
|
}
|