2015-08-22 02:42:34 +02:00
|
|
|
# Template file for 'unibilium'
|
|
|
|
pkgname=unibilium
|
2015-08-23 23:52:01 +02:00
|
|
|
version=1.2.0
|
2015-09-27 21:23:41 +02:00
|
|
|
revision=2
|
|
|
|
build_style=gnu-makefile
|
2015-08-22 02:42:34 +02:00
|
|
|
hostmakedepends="libtool perl"
|
|
|
|
short_desc="A simple, self-contained terminfo library"
|
|
|
|
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
|
|
|
|
license="LGPL-3"
|
|
|
|
homepage="https://github.com/mauke/unibilium"
|
|
|
|
distfiles="https://github.com/mauke/${pkgname}/archive/v${version}.tar.gz"
|
2015-08-23 23:52:01 +02:00
|
|
|
checksum=623af1099515e673abfd3cae5f2fa808a09ca55dda1c65a7b5c9424eb304ead8
|
2015-08-22 02:42:34 +02:00
|
|
|
CFLAGS="-fPIC"
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
cp /usr/bin/libtool .
|
|
|
|
sed -e "s,CCLD=.*,CCLD=$CC,g;s,CC=.*,CC=$CC,g" -i libtool
|
|
|
|
sed -e 's,libtool,./libtool,g' -i Makefile
|
|
|
|
fi
|
|
|
|
make ${makejobs}
|
|
|
|
}
|
|
|
|
|
|
|
|
unibilium-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
2015-09-27 21:23:41 +02:00
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/*.a
|
|
|
|
vmove usr/lib/*.so
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/man/man3
|
2015-08-22 02:42:34 +02:00
|
|
|
}
|
|
|
|
}
|