wok-current rev 6087
Add: clucene clucene-dev (0.9.21b)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Aug 29 21:24:52 2010 +0200 (2010-08-29) |
parents | 92797fee349a |
children | 753cd764de9d |
files | clucene-dev/receipt clucene/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/clucene-dev/receipt Sun Aug 29 21:24:52 2010 +0200 1.3 @@ -0,0 +1,21 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="clucene-dev" 1.7 +VERSION="0.9.21b" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="C++ port of Lucene, a high-performance, full-featured text search engine" 1.10 +MAINTAINER="domcox@users.sourceforge.net" 1.11 +WANTED="clucene" 1.12 +WEB_SITE="http://sourceforge.net/projects/clucene/" 1.13 + 1.14 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.15 +genpkg_rules() 1.16 +{ 1.17 + # we need to re-create $_pkg as SOURCE != PACKAGE 1.18 + _pkg=$WOK/$WANTED/$WANTED-core-$VERSION/_pkg 1.19 + mkdir -p $fs/usr/lib $fs/usr/include 1.20 + cp -a $_pkg/usr/include $fs/usr 1.21 + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 1.22 + cp -a $_pkg/usr/lib/CLucene $fs/usr/lib 1.23 +} 1.24 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/clucene/receipt Sun Aug 29 21:24:52 2010 +0200 2.3 @@ -0,0 +1,32 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="clucene" 2.7 +VERSION="0.9.21b" 2.8 +CATEGORY="system-tools" 2.9 +SHORT_DESC="C++ port of Lucene, a high-performance, full-featured text search engine" 2.10 +MAINTAINER="domcox@users.sourceforge.net" 2.11 +DEPENDS="" 2.12 +SOURCE="clucene-core" 2.13 +TARBALL="$SOURCE-$VERSION.tar.gz" 2.14 +WEB_SITE="http://sourceforge.net/projects/clucene/" 2.15 +WGET_URL="http://downloads.sourceforge.net/clucene/$TARBALL" 2.16 + 2.17 +# Rules to configure and make the package. 2.18 +compile_rules() 2.19 +{ 2.20 + cd $src 2.21 + ./configure --prefix=/usr --infodir=/usr/share/info \ 2.22 + --disable-static \ 2.23 + --mandir=/usr/share/man $CONFIGURE_ARGS 2.24 + make 2.25 + make DESTDIR=$PWD/_pkg install 2.26 +} 2.27 + 2.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.29 +genpkg_rules() 2.30 +{ 2.31 + mkdir -p $fs/usr/lib 2.32 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.33 + strip -s $fs/usr/lib/* 2.34 +} 2.35 +