2015-06-19 17:49:57 +02:00
|
|
|
# Template file for 'skalibs'
|
|
|
|
pkgname=skalibs
|
|
|
|
version=2.3.5.1
|
2015-06-19 18:51:50 +02:00
|
|
|
revision=2
|
2015-06-19 17:49:57 +02:00
|
|
|
nocross="yes"
|
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--datadir=/etc"
|
|
|
|
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=9ef75d87bf6d586e828888e4cee6adbb74c06d6afcdb50f6c395644ce0e561d4
|
|
|
|
|
2015-06-19 18:51:50 +02:00
|
|
|
post_install() {
|
|
|
|
vlicense COPYING
|
|
|
|
vdoc README
|
|
|
|
}
|
|
|
|
|
|
|
|
skalibs-doc_package() {
|
|
|
|
short_desc+=" - documentation"
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmkdir usr/share/doc/skalibs
|
|
|
|
vcopy doc/* usr/share/doc/skalibs
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-06-19 17:49:57 +02:00
|
|
|
skalibs-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|