diff options
author | skingrapher <gandalf@aldebaran.(none)> | 2010-07-09 23:07:06 +0400 |
---|---|---|
committer | skingrapher <gandalf@aldebaran.(none)> | 2010-07-09 23:07:06 +0400 |
commit | f4217c1e1d25cb963e547e1f40bba587892e9d9d (patch) | |
tree | 761fb03d56c1704d6f7ba62d1ed477037526c14c /base/lucene/Pkgfile | |
parent | 6f3f948a30a74d44ada76ca9b5c83e28fcd7146e (diff) | |
parent | 3dc66bcb0e1cec9f83584f304137054b47d32561 (diff) | |
download | nutyx-pakxe-f4217c1e1d25cb963e547e1f40bba587892e9d9d.tar.gz nutyx-pakxe-f4217c1e1d25cb963e547e1f40bba587892e9d9d.tar.bz2 nutyx-pakxe-f4217c1e1d25cb963e547e1f40bba587892e9d9d.tar.xz nutyx-pakxe-f4217c1e1d25cb963e547e1f40bba587892e9d9d.zip |
Merge branch 'master' of ssh://kiao.no-ip.info:443/~/attapu
Diffstat (limited to 'base/lucene/Pkgfile')
-rw-r--r-- | base/lucene/Pkgfile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/base/lucene/Pkgfile b/base/lucene/Pkgfile new file mode 100644 index 000000000..225ed3d60 --- /dev/null +++ b/base/lucene/Pkgfile @@ -0,0 +1,32 @@ +# Description: A high-performance, full-featured text search engine library written entirely in Java +# URL: http://lucene.apache.org/java/docs/index.html +# Packager: Sibelle at free dot fr +# Maintainer: NuTyX packager team +# Depends on: + +name=lucene +version=2.9.3 +release=1 + +source=(http://www.mirrorservice.org/sites/ftp.apache.org/$name/java/$name-$version.tar.gz) + +build() { + cd $name-$version + install -m755 -d $PKG/usr/share/java/ + + # install all *.jar files + for i in `find $SRC -name '*.jar'`; do + install $i $PKG/usr/share/java/ + done + + # create symlinks + cd $PKG/usr/share/java/ + for i in `ls -1 *$version*.jar`; do + j=${i//-$version/} + ln -sv $i $j + done + + # and one with different version numbering + ln -sv servlet-api-2.4.jar servlet-api.jar +} + |