wok-next annotate clucene/receipt @ rev 19932
xfce4-session: update bdeps, wbar2: add CXXFLAGS, libsmpeg: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 15 11:37:03 2017 +0200 (2017-10-15) |
parents | 777348fd8b60 |
children | d5aab818505e |
rev | line source |
---|---|
al@19797 | 1 # SliTaz package receipt v2. |
domcox@6087 | 2 |
domcox@6087 | 3 PACKAGE="clucene" |
al@19797 | 4 VERSION="2.3.3.4" |
domcox@6087 | 5 CATEGORY="system-tools" |
al@19797 | 6 SHORT_DESC="CLucene - a C++ search engine" |
pascal@13025 | 7 MAINTAINER="domcox@slitaz.org" |
pascal@15021 | 8 LICENSE="LGPL Apache" |
al@19797 | 9 WEB_SITE="https://sourceforge.net/projects/clucene/" |
al@19797 | 10 |
al@19797 | 11 TARBALL="clucene-core-$VERSION.tar.gz" |
slaxemulator@9475 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
al@19797 | 13 |
al@19797 | 14 BUILD_DEPENDS="cmake zlib-dev" |
al@19797 | 15 SPLIT="clucene-dev" |
domcox@6087 | 16 |
domcox@6087 | 17 # Rules to configure and make the package. |
domcox@6087 | 18 compile_rules() |
domcox@6087 | 19 { |
al@19797 | 20 mkdir build && |
al@19797 | 21 cd build && |
al@19797 | 22 |
al@19797 | 23 cmake \ |
al@19797 | 24 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@19797 | 25 -DBUILD_CONTRIBS_LIB=ON .. && |
al@19797 | 26 make && |
gokhlayeh@8612 | 27 make -j1 install |
domcox@6087 | 28 } |
domcox@6087 | 29 |
domcox@6087 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@6087 | 31 genpkg_rules() |
domcox@6087 | 32 { |
al@19797 | 33 case $PACKAGE in |
al@19797 | 34 clucene) copy @std; TAGS="text indexing";; |
al@19797 | 35 *-dev) copy @dev;; |
al@19797 | 36 esac |
domcox@6087 | 37 } |