wok-current view tcllib/receipt @ rev 10042

bison: cross with CONFIGURE_ARGS
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 20 09:00:11 2011 +0200 (2011-05-20)
parents 09f44a2ea4db
children de49f29b101e
line source
1 # SliTaz package receipt.
3 PACKAGE="tcllib"
4 VERSION="1.12"
5 CATEGORY="development"
6 SHORT_DESC="Tcl-only library of standard routines for Tcl."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS="tcl"
9 BUILD_DEPENDS="tcl"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://sourceforge.net/projects/tcllib/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib/* $fs/usr/lib
32 }