38 lines
841 B
Bash
38 lines
841 B
Bash
# Template file for 'fehQlibs'
|
|
pkgname=fehQlibs
|
|
version=15
|
|
revision=1
|
|
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=c3f1e9ad15a6ab2c78024089dec5e8975e52d27c71a906c928980cf2f391d7fd
|
|
disable_parallel_build=yes
|
|
|
|
post_extract() {
|
|
sed -i '/^CC=/d' configure
|
|
}
|
|
|
|
do_build() {
|
|
cat >conf-build <<EOF
|
|
CFLAGS='$CFLAGS -fPIC'
|
|
LIBDIR=$DESTDIR/usr/lib
|
|
HDRDIR=$DESTDIR/usr/include/fehQlibs
|
|
EOF
|
|
make CC="$CC" LDFLAGS= default
|
|
}
|
|
|
|
do_install() {
|
|
vmkdir usr/include/fehQlibs
|
|
vmkdir usr/lib
|
|
|
|
cp include/*.h ${DESTDIR}/usr/include/fehQlibs
|
|
cp lib* ${DESTDIR}/usr/lib
|
|
|
|
vdoc BUILD
|
|
vdoc VERSION
|
|
vlicense LICENSE
|
|
}
|