wok-6.x view tcllib/receipt @ rev 9118

glibc-dev: ensure necessary packages are built
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 05 13:14:44 2011 +0100 (2011-03-05)
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 }