wok-6.x annotate cssc/receipt @ rev 8615

Fix: replace exit 1 by return 1 in receipts (exit broke cook-list function)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Feb 14 19:09:46 2011 +0100 (2011-02-14)
parents
children 7abf990db309
rev   line source
pascal@7195 1 # SliTaz package receipt.
pascal@7195 2
pascal@7195 3 PACKAGE="cssc"
pascal@7195 4 VERSION="1.3.0"
pascal@7195 5 CATEGORY="development"
pascal@7195 6 SHORT_DESC="GNU compatibly stupid source control : SCCS."
pascal@7195 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@7195 8 SOURCE="CSSC"
pascal@7195 9 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@7195 10 WEB_SITE="http://www.gnu.org/software/cssc/"
pascal@7195 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pascal@7195 12 DEPENDS="gcc-lib-base"
pascal@7195 13 TAGS="rcs sccs version-control versioning"
pascal@7195 14
pascal@7195 15 # Rules to configure and make the package.
pascal@7195 16 compile_rules()
pascal@7195 17 {
pascal@7195 18 cd $src
pascal@7195 19 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@7195 20 --libexecdir=/usr/lib/$PACKAGE \
pascal@7195 21 --mandir=/usr/share/man \
pascal@7195 22 $CONFIGURE_ARGS &&
pascal@7195 23 make &&
pascal@7195 24 make DESTDIR=$PWD/_pkg install
pascal@7195 25 }
pascal@7195 26
pascal@7195 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@7195 28 genpkg_rules()
pascal@7195 29 {
pascal@7195 30 mkdir -p $fs/usr
pascal@7195 31 cp -a $_pkg/usr/bin $fs/usr
pascal@7195 32 cp -a $_pkg/usr/lib $fs/usr
pascal@7195 33 }