# HG changeset patch # User Eric Joseph-Alexandre # Date 1216211042 -7200 # Node ID 1f329c91549751a2a51b1e80cd733e164228ad67 # Parent 6f2d3769a3390104ba3a054a954a3f255bf7ade3 iAdd: boost, boost-dev prepare for inkscape 0.46. diff -r 6f2d3769a339 -r 1f329c915497 boost-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/boost-dev/receipt Wed Jul 16 14:24:02 2008 +0200 @@ -0,0 +1,24 @@ +# SliTaz package receipt. + +PACKAGE="boost-dev" +VERSION="1_35_0" +CATEGORY="developpement" +SHORT_DESC="C++ libraries dev. files." +MAINTAINER="erjo@slitaz.org" +DEPENDS="boost" +TARBALL="${PACKAGE}_${VERSION}.tar.bz2" +WANTED="boost" +WEB_SITE="http://boost.org/" + + + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + _pkg=$WOK/$WANTED/${WANTED}_${VERSION}/_pkg + mkdir -p $fs/usr/lib $fs/usr/include + + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + cp -a $_pkg/usr/include/boost-1_35/boost $fs/usr/include +} + diff -r 6f2d3769a339 -r 1f329c915497 boost/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/boost/receipt Wed Jul 16 14:24:02 2008 +0200 @@ -0,0 +1,39 @@ +# SliTaz package receipt. + +PACKAGE="boost" +VERSION="1_35_0" +CATEGORY="developpement" +SHORT_DESC="Peer-reviewed portable C++ source libraries." +MAINTAINER="erjo@slitaz.org" +DEPENDS="" +TARBALL="${PACKAGE}_${VERSION}.tar.bz2" +WEB_SITE="http://boost.org/" +WGET_URL="http://garr.dl.sourceforge.net/boost/$TARBALL" + + +# Rules to configure and make the package. +compile_rules() +{ + src=$WOK/$PACKAGE/${PACKAGE}_${VERSION} + cd $src + ./configure --prefix=/usr + make + make PREFIX=$src/_pkg/usr \ + EPREFIX=$src/_pkg/usr \ + LIBDIR=$src/_pkg/usr/lib \ + INCLUDEDIR=$src/_pkg/usr/include install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + _pkg=$WOK/$PACKAGE/${PACKAGE}_${VERSION}/_pkg + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib +} + +# Rules to clean extras dirs or files +clean_wok() +{ + rm -rf $WOK/$PACKAGE/${PACKAGE}_${VERSION} +}