wok annotate pwlib/receipt @ rev 1153

glibc: build deps and genpkg all splited packages
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jul 27 00:57:59 2008 +0200 (2008-07-27)
parents
children
rev   line source
pascal@301 1 # SliTaz package receipt.
pascal@301 2
pascal@301 3 PACKAGE="pwlib"
pascal@301 4 VERSION="1.10.10"
pascal@301 5 CATEGORY="network"
pascal@301 6 SHORT_DESC="Portable Windows Libary."
pascal@301 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@301 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@301 9 WEB_SITE="http://www.ekiga.org/"
pascal@301 10 WGET_URL="$WEB_SITE/admin/downloads/latest/sources/sources/$TARBALL"
pascal@301 11 BUILD_DEPENDS="flex bison m4"
pascal@301 12
pascal@301 13 # Rules to configure and make the package.
pascal@301 14 compile_rules()
pascal@301 15 {
pascal@301 16 cd $src
pascal@301 17 ./configure --prefix=/usr --bindir=/bin \
pascal@301 18 --libexecdir=/usr/bin --mandir=/usr/share/man \
pascal@301 19 $CONFIGURE_ARGS
pascal@301 20 make
pascal@301 21 make DESTDIR=$PWD/_pkg install
pascal@301 22 }
pascal@301 23
pascal@301 24
pascal@301 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@301 26 genpkg_rules()
pascal@301 27 {
pascal@301 28 mkdir -p $fs/usr/lib $fs/usr/bin
pascal@301 29 cp -a $_pkg/usr/bin $fs/usr
pascal@301 30 cp -a $_pkg/usr/lib $fs/usr
pascal@301 31 }
pascal@301 32