2020-02-26 21:14:44 +01:00
|
|
|
# Template file for 'fehQlibs'
|
|
|
|
pkgname=fehQlibs
|
|
|
|
version=14
|
2020-03-29 14:54:05 +02:00
|
|
|
revision=2
|
2020-02-26 21:14:44 +01:00
|
|
|
build_style=gnu-makefile
|
|
|
|
short_desc="State-of-the-art C routines for Internet services"
|
|
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
|
|
license="Public Domain"
|
|
|
|
homepage="http://www.fehcom.de/ipnet/qlibs.html"
|
|
|
|
distfiles="http://www.fehcom.de/ipnet/fehQlibs/fehQlibs-${version}.tgz"
|
|
|
|
checksum=1ea19a0172cc9826fcd7e0b44cc93f6b928c8144dc90452474d9980f1f57f074
|
|
|
|
disable_parallel_build=yes
|
|
|
|
|
|
|
|
post_extract() {
|
|
|
|
sed -i '/^CC=/d' configure
|
|
|
|
}
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
cat >conf-build <<EOF
|
|
|
|
CFLAGS='$CFLAGS -fPIC'
|
|
|
|
LIBDIR=$DESTDIR/usr/lib
|
2020-03-29 14:54:05 +02:00
|
|
|
HDRDIR=$DESTDIR/usr/include/fehQlibs
|
2020-02-26 21:14:44 +01:00
|
|
|
EOF
|
|
|
|
make CC="$CC" LDFLAGS= default
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
2020-03-29 14:54:05 +02:00
|
|
|
vmkdir usr/include/fehQlibs
|
2020-02-26 21:14:44 +01:00
|
|
|
vmkdir usr/lib
|
|
|
|
|
2020-03-29 14:54:05 +02:00
|
|
|
cp include/*.h ${DESTDIR}/usr/include/fehQlibs
|
2020-02-26 21:14:44 +01:00
|
|
|
cp lib* ${DESTDIR}/usr/lib
|
|
|
|
|
|
|
|
vdoc BUILD
|
|
|
|
vdoc VERSION
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|