New package: fehQlibs-14
This commit is contained in:
parent
e0a0e36896
commit
add56be6b5
1 changed files with 36 additions and 0 deletions
36
srcpkgs/fehQlibs/template
Normal file
36
srcpkgs/fehQlibs/template
Normal file
|
@ -0,0 +1,36 @@
|
|||
# Template file for 'fehQlibs'
|
||||
pkgname=fehQlibs
|
||||
version=14
|
||||
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=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
|
||||
HDRDIR=$DESTDIR/usr/include
|
||||
EOF
|
||||
make CC="$CC" LDFLAGS= default
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vmkdir usr/lib
|
||||
|
||||
vcopy include usr
|
||||
cp lib* ${DESTDIR}/usr/lib
|
||||
|
||||
vdoc BUILD
|
||||
vdoc VERSION
|
||||
vlicense LICENSE
|
||||
}
|
Loading…
Reference in a new issue