wok-undigest annotate enet/receipt @ rev 343

brasero: fix genpkg_rules (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 15 16:18:23 2011 +0200 (2011-06-15)
parents
children
rev   line source
devl547@111 1 # SliTaz package receipt.
devl547@111 2
devl547@111 3 PACKAGE="enet"
devl547@111 4 VERSION="1.2.1"
devl547@111 5 CATEGORY="development"
devl547@111 6 SHORT_DESC="relatively thin, simple and robust network communication layer on top of UDP"
devl547@111 7 MAINTAINER="devl547@gmail.com"
devl547@111 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
devl547@111 9 WEB_SITE="http://enet.bespin.org/"
devl547@111 10 WGET_URL="$WEB_SITE/download/$TARBALL"
devl547@111 11
devl547@111 12 # Rules to configure and make the package.
devl547@111 13 compile_rules()
devl547@111 14 {
devl547@111 15 cd $src
devl547@111 16 ./configure --prefix=/usr --infodir=/usr/share/info \
devl547@111 17 --mandir=/usr/share/man --enable-crc32 $CONFIGURE_ARGS &&
devl547@111 18 make &&
devl547@111 19 make DESTDIR=$PWD/_pkg install
devl547@111 20 }
devl547@111 21
devl547@111 22 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@111 23 genpkg_rules()
devl547@111 24 {
devl547@111 25 mkdir -p $fs/usr/lib
devl547@111 26 cp -a $_pkg/usr/lib/*a $fs/usr/lib
devl547@111 27 cp -a $_pkg/usr/include $fs/usr
devl547@111 28 }