wok-6.x annotate udpcast/receipt @ rev 1860

Udpcast: fix genpkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 15 21:38:53 2008 +0000 (2008-12-15)
parents 71bdfac365d7
children e1a93cb40c5b
rev   line source
pascal@1859 1 # SliTaz package receipt.
pascal@1859 2
pascal@1859 3 PACKAGE="udpcast"
pascal@1859 4 VERSION="20081213"
pascal@1859 5 CATEGORY="network"
pascal@1859 6 SHORT_DESC="Multicat file transfer."
pascal@1859 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@1859 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1859 9 WEB_SITE="http://udpcast.linux.lu/"
pascal@1859 10 WGET_URL="${WEB_SITE}download/$TARBALL"
pascal@1859 11
pascal@1859 12 # Rules to configure and make the package.
pascal@1859 13 compile_rules()
pascal@1859 14 {
pascal@1859 15 cd $src
pascal@1859 16 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1859 17 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1859 18 make &&
pascal@1859 19 make DESTDIR=$PWD/_pkg install
pascal@1859 20 }
pascal@1859 21
pascal@1859 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1859 23 genpkg_rules()
pascal@1859 24 {
pascal@1859 25 mkdir -p $fs/usr
pascal@1860 26 cp -a $_pkg/usr/sbin $fs/usr
pascal@1859 27 }
pascal@1859 28