wok-6.x annotate tcllib/receipt @ rev 7832
Add get-LibreOffice (v1.0) - script (based on get-OpenOffice3) to download and package LibreOffice w/out lang. packs
author | Ben Arnold <ben@seawolfsanctuary.com> |
---|---|
date | Sun Dec 26 22:00:38 2010 +0000 (2010-12-26) |
parents | 09f44a2ea4db |
children | de49f29b101e |
rev | line source |
---|---|
paul@3687 | 1 # SliTaz package receipt. |
paul@3687 | 2 |
paul@3687 | 3 PACKAGE="tcllib" |
paul@7802 | 4 VERSION="1.12" |
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 |