wok annotate libasyncns/receipt @ rev 18730

Quote root dir in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 20 15:13:45 2015 +0100 (2015-12-20)
parents 54bd24628177
children
rev   line source
slaxemulator@6754 1 # SliTaz package receipt.
slaxemulator@6754 2
slaxemulator@6754 3 PACKAGE="libasyncns"
slaxemulator@6754 4 VERSION="0.8"
slaxemulator@6754 5 CATEGORY="development"
slaxemulator@6754 6 SHORT_DESC="A C library for Linux/Unix for executing name service queries asynchronously."
slaxemulator@6754 7 MAINTAINER="slaxemulator@gmail.com"
pascal@14996 8 LICENSE="LGPL2.1"
slaxemulator@6754 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@6754 10 WEB_SITE="http://0pointer.de/lennart/projects/libasyncns"
slaxemulator@6754 11 WGET_URL="$WEB_SITE/$TARBALL"
slaxemulator@6754 12
pascal@14996 13 DEPENDS="glibc-base"
pascal@14996 14
slaxemulator@6754 15 # Rules to configure and make the package.
slaxemulator@6754 16 compile_rules()
slaxemulator@6754 17 {
slaxemulator@6754 18 cd $src
slaxemulator@6754 19 ./configure \
slaxemulator@6754 20 --prefix=/usr \
slaxemulator@6754 21 --infodir=/usr/share/info \
slaxemulator@6754 22 --mandir=/usr/share/man \
slaxemulator@6754 23 --disable-lynx \
slaxemulator@6754 24 $CONFIGURE_ARGS &&
pascal@14996 25 make && make DESTDIR=$DESTDIR install
slaxemulator@6754 26 }
slaxemulator@6754 27
slaxemulator@6754 28 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6754 29 genpkg_rules()
slaxemulator@6754 30 {
slaxemulator@6754 31 mkdir -p $fs/usr/lib
pascal@14996 32 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@6754 33 }
slaxemulator@6754 34