wok-6.x rev 1075
iAdd: boost, boost-dev prepare for inkscape 0.46.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Jul 16 14:24:02 2008 +0200 (2008-07-16) |
parents | 6f2d3769a339 |
children | 5f25cfcd0de2 |
files | boost-dev/receipt boost/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/boost-dev/receipt Wed Jul 16 14:24:02 2008 +0200 1.3 @@ -0,0 +1,24 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="boost-dev" 1.7 +VERSION="1_35_0" 1.8 +CATEGORY="developpement" 1.9 +SHORT_DESC="C++ libraries dev. files." 1.10 +MAINTAINER="erjo@slitaz.org" 1.11 +DEPENDS="boost" 1.12 +TARBALL="${PACKAGE}_${VERSION}.tar.bz2" 1.13 +WANTED="boost" 1.14 +WEB_SITE="http://boost.org/" 1.15 + 1.16 + 1.17 + 1.18 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.19 +genpkg_rules() 1.20 +{ 1.21 + _pkg=$WOK/$WANTED/${WANTED}_${VERSION}/_pkg 1.22 + mkdir -p $fs/usr/lib $fs/usr/include 1.23 + 1.24 + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 1.25 + cp -a $_pkg/usr/include/boost-1_35/boost $fs/usr/include 1.26 +} 1.27 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/boost/receipt Wed Jul 16 14:24:02 2008 +0200 2.3 @@ -0,0 +1,39 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="boost" 2.7 +VERSION="1_35_0" 2.8 +CATEGORY="developpement" 2.9 +SHORT_DESC="Peer-reviewed portable C++ source libraries." 2.10 +MAINTAINER="erjo@slitaz.org" 2.11 +DEPENDS="" 2.12 +TARBALL="${PACKAGE}_${VERSION}.tar.bz2" 2.13 +WEB_SITE="http://boost.org/" 2.14 +WGET_URL="http://garr.dl.sourceforge.net/boost/$TARBALL" 2.15 + 2.16 + 2.17 +# Rules to configure and make the package. 2.18 +compile_rules() 2.19 +{ 2.20 + src=$WOK/$PACKAGE/${PACKAGE}_${VERSION} 2.21 + cd $src 2.22 + ./configure --prefix=/usr 2.23 + make 2.24 + make PREFIX=$src/_pkg/usr \ 2.25 + EPREFIX=$src/_pkg/usr \ 2.26 + LIBDIR=$src/_pkg/usr/lib \ 2.27 + INCLUDEDIR=$src/_pkg/usr/include install 2.28 +} 2.29 + 2.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.31 +genpkg_rules() 2.32 +{ 2.33 + _pkg=$WOK/$PACKAGE/${PACKAGE}_${VERSION}/_pkg 2.34 + mkdir -p $fs/usr/lib 2.35 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.36 +} 2.37 + 2.38 +# Rules to clean extras dirs or files 2.39 +clean_wok() 2.40 +{ 2.41 + rm -rf $WOK/$PACKAGE/${PACKAGE}_${VERSION} 2.42 +}