wok diff boost/receipt @ rev 1278

Add: fbida (images manipulation tools with fb viewer)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Aug 18 14:19:17 2008 +0200 (2008-08-18)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/boost/receipt	Mon Aug 18 14:19:17 2008 +0200
     1.3 @@ -0,0 +1,39 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="boost"
     1.7 +VERSION="1_35_0"
     1.8 +CATEGORY="developpement"
     1.9 +SHORT_DESC="Peer-reviewed portable C++ source libraries."
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +DEPENDS=""
    1.12 +TARBALL="${PACKAGE}_${VERSION}.tar.bz2"
    1.13 +WEB_SITE="http://boost.org/"
    1.14 +WGET_URL="http://garr.dl.sourceforge.net/boost/$TARBALL"
    1.15 +
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	src=$WOK/$PACKAGE/${PACKAGE}_${VERSION}
    1.21 +	cd $src
    1.22 +	./configure --prefix=/usr
    1.23 +	make
    1.24 +	make PREFIX=$src/_pkg/usr \
    1.25 +	  EPREFIX=$src/_pkg/usr \
    1.26 +	  LIBDIR=$src/_pkg/usr/lib \
    1.27 +	  INCLUDEDIR=$src/_pkg/usr/include install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	_pkg=$WOK/$PACKAGE/${PACKAGE}_${VERSION}/_pkg
    1.34 +	mkdir -p $fs/usr/lib
    1.35 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.36 +} 
    1.37 +
    1.38 +# Rules to clean extras dirs or files
    1.39 +clean_wok()
    1.40 +{
    1.41 +	rm -rf $WOK/$PACKAGE/${PACKAGE}_${VERSION}
    1.42 +}