wok-next view libasyncns/receipt @ rev 20523
libnsgif: add missing stuff
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 23 15:16:45 2018 +0200 (2018-03-23) |
parents | 76b72f1ad63c |
children | 9e5dca6702bf |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libasyncns"
4 VERSION="0.8"
5 CATEGORY="development"
6 SHORT_DESC="A C library for Linux/Unix for executing name service queries \
7 asynchronously"
8 MAINTAINER="slaxemulator@gmail.com"
9 LICENSE="LGPL2.1"
10 WEB_SITE="http://0pointer.de/lennart/projects/libasyncns"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/$TARBALL"
15 SPLIT="libasyncns-dev"
17 compile_rules() {
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 --disable-lynx \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$DESTDIR install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 libasyncns)
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 DEPENDS="glibc-base"
33 ;;
34 *-dev)
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/include $fs/usr
37 cp -a $install/usr/lib/*.*a $fs/usr/lib
38 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
39 ;;
40 esac
41 }