wok-next annotate xapian/receipt @ rev 20518
wordwarvi:typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 23 09:21:17 2018 +0100 (2018-03-23) |
parents | 5392e474ed6e |
children | 10df65db91ad |
rev | line source |
---|---|
al@19741 | 1 # SliTaz package receipt v2. |
pascal@17421 | 2 |
pascal@17421 | 3 PACKAGE="xapian" |
al@19741 | 4 VERSION="1.4.4" |
al@19741 | 5 CATEGORY="utilities" |
al@19741 | 6 SHORT_DESC="The open source search engine" |
pascal@17421 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17421 | 8 LICENSE="GPL2" |
al@19741 | 9 WEB_SITE="https://xapian.org/" |
pascal@17421 | 10 |
al@19741 | 11 TARBALL="xapian-core-$VERSION.tar.xz" |
al@19741 | 12 WGET_URL="http://oligarchy.co.uk/xapian/$VERSION/$TARBALL" |
al@19741 | 13 |
al@19741 | 14 BUILD_DEPENDS="perl zlib-dev util-linux-uuid-dev" |
al@19741 | 15 SPLIT="xapian-dev" |
pascal@17421 | 16 |
pascal@17421 | 17 # Rules to configure and make the package. |
pascal@17421 | 18 compile_rules() |
pascal@17421 | 19 { |
al@19741 | 20 ./configure $CONFIGURE_ARGS && make && make install |
pascal@17421 | 21 } |
pascal@17421 | 22 |
pascal@17421 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17421 | 24 genpkg_rules() |
pascal@17421 | 25 { |
al@19741 | 26 case $PACKAGE in |
al@19741 | 27 xapian) |
al@19741 | 28 copy @std |
al@19741 | 29 DEPENDS="util-linux-uuid zlib" |
al@19741 | 30 ;; |
al@19741 | 31 *-dev) copy @dev;; |
al@19741 | 32 esac |
pascal@17421 | 33 } |