42 lines
1.2 KiB
Bash
42 lines
1.2 KiB
Bash
# Template file for 'skalibs'
|
|
pkgname=skalibs
|
|
version=2.12.0.1
|
|
revision=1
|
|
build_style=configure
|
|
configure_args="--libdir=/usr/lib --enable-static --enable-shared
|
|
--enable-force-devr
|
|
--datadir=/usr/share/$pkgname --libdir=/usr/lib
|
|
--bindir=/usr/bin --dynlibdir=/usr/lib
|
|
--with-sysdep-devurandom=yes"
|
|
short_desc="General purpose libraries for building software from skarnet.org"
|
|
maintainer="mobinmob <mobinmob@disroot.org>"
|
|
license="ISC"
|
|
homepage="https://skarnet.org/software/skalibs/"
|
|
changelog="https://skarnet.org/software/skalibs/upgrade.html"
|
|
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=3e228f72f18d88c17f6c4e0a66881d6d3779427b7e7e889f3142b6f26da30285
|
|
|
|
post_install() {
|
|
vlicense COPYING LICENSE
|
|
}
|
|
|
|
skalibs-doc_package() {
|
|
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"
|
|
}
|
|
}
|