wok annotate boost/receipt @ rev 1173

get-skype, get-google-earth, get-flash-plugin: use 'tazpkg pack'
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 02 09:34:54 2008 +0000 (2008-08-02)
parents
children
rev   line source
erjo@1075 1 # SliTaz package receipt.
erjo@1075 2
erjo@1075 3 PACKAGE="boost"
erjo@1075 4 VERSION="1_35_0"
erjo@1075 5 CATEGORY="developpement"
erjo@1075 6 SHORT_DESC="Peer-reviewed portable C++ source libraries."
erjo@1075 7 MAINTAINER="erjo@slitaz.org"
erjo@1075 8 DEPENDS=""
erjo@1075 9 TARBALL="${PACKAGE}_${VERSION}.tar.bz2"
erjo@1075 10 WEB_SITE="http://boost.org/"
erjo@1075 11 WGET_URL="http://garr.dl.sourceforge.net/boost/$TARBALL"
erjo@1075 12
erjo@1075 13
erjo@1075 14 # Rules to configure and make the package.
erjo@1075 15 compile_rules()
erjo@1075 16 {
erjo@1075 17 src=$WOK/$PACKAGE/${PACKAGE}_${VERSION}
erjo@1075 18 cd $src
erjo@1075 19 ./configure --prefix=/usr
erjo@1075 20 make
erjo@1075 21 make PREFIX=$src/_pkg/usr \
erjo@1075 22 EPREFIX=$src/_pkg/usr \
erjo@1075 23 LIBDIR=$src/_pkg/usr/lib \
erjo@1075 24 INCLUDEDIR=$src/_pkg/usr/include install
erjo@1075 25 }
erjo@1075 26
erjo@1075 27 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1075 28 genpkg_rules()
erjo@1075 29 {
erjo@1075 30 _pkg=$WOK/$PACKAGE/${PACKAGE}_${VERSION}/_pkg
erjo@1075 31 mkdir -p $fs/usr/lib
erjo@1075 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
erjo@1075 33 }
erjo@1075 34
erjo@1075 35 # Rules to clean extras dirs or files
erjo@1075 36 clean_wok()
erjo@1075 37 {
erjo@1075 38 rm -rf $WOK/$PACKAGE/${PACKAGE}_${VERSION}
erjo@1075 39 }