wok-current annotate tcllib/receipt @ rev 6101

uclibc-*: fix genpkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 31 22:19:24 2010 +0200 (2010-08-31)
parents
children ba61bc5af9e1
rev   line source
paul@3687 1 # SliTaz package receipt.
paul@3687 2
paul@3687 3 PACKAGE="tcllib"
paul@3687 4 VERSION="1.11.1"
paul@3687 5 CATEGORY="development"
paul@3687 6 SHORT_DESC="Tcl-only library of standard routines for Tcl."
paul@3687 7 MAINTAINER="paul@slitaz.org"
paul@3687 8 DEPENDS="tcl"
paul@3687 9 BUILD_DEPENDS="tcl"
paul@3687 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@3687 11 WEB_SITE="http://sourceforge.net/projects/tcllib/"
paul@3687 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
paul@3687 13
paul@3687 14 # Rules to configure and make the package.
paul@3687 15 compile_rules()
paul@3687 16 {
paul@3687 17 cd $src
paul@3687 18 ./configure \
paul@3687 19 --prefix=/usr \
paul@3687 20 --infodir=/usr/share/info \
paul@3687 21 --mandir=/usr/share/man \
paul@3687 22 $CONFIGURE_ARGS &&
paul@3687 23 make DESTDIR=$PWD/_pkg install
paul@3687 24 }
paul@3687 25
paul@3687 26 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@3687 27 genpkg_rules()
paul@3687 28 {
paul@3687 29 mkdir -p $fs/usr/lib
paul@3687 30 cp -a $_pkg/usr/bin $fs/usr
paul@3687 31 cp -a $_pkg/usr/lib/* $fs/usr/lib
paul@3687 32 }
paul@3687 33