wok-next annotate clucene/receipt @ rev 20849
syslinux: prevent shell expansion, specify CONFIG_FILES
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jun 23 17:39:19 2018 +0300 (2018-06-23) |
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 } |