wok-current rev 9162
Add libtdb. Needed for samba to compile.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Mar 07 18:17:27 2011 +0000 (2011-03-07) |
parents | 7eb5d6d32d7d |
children | 2b87a265fb28 |
files | libtdb-dev/receipt libtdb/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libtdb-dev/receipt Mon Mar 07 18:17:27 2011 +0000 1.3 @@ -0,0 +1,20 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libtdb-dev" 1.7 +VERSION="1.2.1" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="devlopment files for libtdb" 1.10 +MAINTAINER="slaxemulator@gmail.com" 1.11 +DEPENDS="libtdb" 1.12 +WEB_SITE="http://tdb.samba.org/" 1.13 +WANTED="libtdb" 1.14 + 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +genpkg_rules() 1.17 +{ 1.18 + mkdir -p $fs/usr/lib 1.19 + cp -a $_pkg/usr/include $fs/usr 1.20 + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 1.21 + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 1.22 +} 1.23 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/libtdb/receipt Mon Mar 07 18:17:27 2011 +0000 2.3 @@ -0,0 +1,33 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="libtdb" 2.7 +VERSION="1.2.1" 2.8 +CATEGORY="misc" 2.9 +SNORT_DEST="A Trivia Database similar to GDBM but allows simultaneous commits" 2.10 +MAINTAINER="slaxemulator@gmail.com" 2.11 +DEPENDS="" 2.12 +BUILD_DEPENDS="python-dev libxslt-dev docbook-xsl" 2.13 +SOURCE="tdb" 2.14 +TARBALL="$SOURCE-$VERSION.tar.gz" 2.15 +WEB_SITE="http://tdb.samba.org/" 2.16 +WGET_URL="http://samba.org/ftp/$SOURCE/$TARBALL" 2.17 + 2.18 +# Rules to configure and make the package. 2.19 +compile_rules() 2.20 +{ 2.21 + cd $src 2.22 + sed -i 's#python2\.6\([^ ]*\)#python2.7\1 python2.6\1#' configure 2.23 + # Use system docbook.xsl 2.24 + _manstyle="/usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl" 2.25 + sed -i "s#http.*xsl#$_manstyle#" tdb.mk 2.26 + 2.27 + ./configure && make && make install 2.28 +} 2.29 + 2.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.31 +genpkg_rules() 2.32 +{ 2.33 + mkdir -p $fs/usr/lib 2.34 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.35 +} 2.36 +