wok-6.x annotate sic/receipt @ rev 10744

leocad: fix receipt (was genpkg_rules in compile rules and so even if build failed package was made)
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 30 10:57:50 2011 +0200 (2011-05-30)
parents
children 3b4e4318134e
rev   line source
pascal@9987 1 # SliTaz package receipt.
pascal@9987 2
pascal@9987 3 PACKAGE="sic"
pascal@9987 4 VERSION="1.1"
pascal@9987 5 CATEGORY="network"
pascal@9987 6 SHORT_DESC="Simple IRC client."
pascal@9987 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@9987 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@9987 9 WEB_SITE="http://tools.suckless.org/sic"
pascal@9987 10 WGET_URL="http://dl.suckless.org/tools/$TARBALL"
pascal@9987 11
pascal@9987 12 # Rules to configure and make the package.
pascal@9987 13 compile_rules()
pascal@9987 14 {
pascal@9987 15 cd $src
pascal@9987 16 make clean &&
pascal@9987 17 make PREFIX=/usr DESTDIR=$DESTDIR install
pascal@9987 18 }
pascal@9987 19
pascal@9987 20 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@9987 21 genpkg_rules()
pascal@9987 22 {
pascal@9987 23 mkdir -p $fs/usr
pascal@9987 24 cp -a $_pkg/usr/bin $fs/usr
pascal@9987 25 }
pascal@9987 26