skalibs: unbreak build, misc fixes
This commit is contained in:
parent
b968a49490
commit
cfde2fcd69
1 changed files with 7 additions and 6 deletions
|
@ -1,10 +1,10 @@
|
|||
# Template file for 'skalibs'
|
||||
pkgname=skalibs
|
||||
version=2.3.5.1
|
||||
revision=2
|
||||
revision=3
|
||||
nocross="yes"
|
||||
build_style=gnu-configure
|
||||
configure_args="--datadir=/etc"
|
||||
configure_args="CFLAGS=-D_DEFAULT_SOURCE --datadir=/etc --enable-force-devr"
|
||||
short_desc="General purpose libraries for building software from skarnet.org"
|
||||
maintainer="bougyman <bougyman@voidlinux.eu>"
|
||||
license="ISC"
|
||||
|
@ -13,11 +13,11 @@ distfiles="http://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
|
|||
checksum=9ef75d87bf6d586e828888e4cee6adbb74c06d6afcdb50f6c395644ce0e561d4
|
||||
|
||||
post_install() {
|
||||
vlicense COPYING
|
||||
vdoc README
|
||||
vlicense COPYING LICENSE
|
||||
}
|
||||
|
||||
skalibs-doc_package() {
|
||||
noarch=yes
|
||||
short_desc+=" - documentation"
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
|
@ -25,12 +25,13 @@ skalibs-doc_package() {
|
|||
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/skalibs/*.a
|
||||
vmove usr/lib/*.so
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue