# HG changeset patch # User Christopher Rogers # Date 1299521847 0 # Node ID b21192024406669647980aad27d3a092229d9077 # Parent 7eb5d6d32d7db2940467d45c7e82810387b72f2f Add libtdb. Needed for samba to compile. diff -r 7eb5d6d32d7d -r b21192024406 libtdb-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libtdb-dev/receipt Mon Mar 07 18:17:27 2011 +0000 @@ -0,0 +1,20 @@ +# SliTaz package receipt. + +PACKAGE="libtdb-dev" +VERSION="1.2.1" +CATEGORY="development" +SHORT_DESC="devlopment files for libtdb" +MAINTAINER="slaxemulator@gmail.com" +DEPENDS="libtdb" +WEB_SITE="http://tdb.samba.org/" +WANTED="libtdb" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib +} + diff -r 7eb5d6d32d7d -r b21192024406 libtdb/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libtdb/receipt Mon Mar 07 18:17:27 2011 +0000 @@ -0,0 +1,33 @@ +# SliTaz package receipt. + +PACKAGE="libtdb" +VERSION="1.2.1" +CATEGORY="misc" +SNORT_DEST="A Trivia Database similar to GDBM but allows simultaneous commits" +MAINTAINER="slaxemulator@gmail.com" +DEPENDS="" +BUILD_DEPENDS="python-dev libxslt-dev docbook-xsl" +SOURCE="tdb" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://tdb.samba.org/" +WGET_URL="http://samba.org/ftp/$SOURCE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + sed -i 's#python2\.6\([^ ]*\)#python2.7\1 python2.6\1#' configure + # Use system docbook.xsl + _manstyle="/usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl" + sed -i "s#http.*xsl#$_manstyle#" tdb.mk + + ./configure && make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib +} +