wok-next annotate xapian/receipt @ rev 21143

Small updates.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jan 25 15:37:19 2019 +0200 (2019-01-25)
parents d5aab818505e
children
rev   line source
al@19741 1 # SliTaz package receipt v2.
pascal@17421 2
pascal@17421 3 PACKAGE="xapian"
al@20645 4 VERSION="1.4.5"
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/"
al@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/xapian.html"
al@20888 11 REPOLOGY="xapian-core"
pascal@17421 12
al@19741 13 TARBALL="xapian-core-$VERSION.tar.xz"
al@19741 14 WGET_URL="http://oligarchy.co.uk/xapian/$VERSION/$TARBALL"
al@19741 15
al@21094 16 COOKOPTS="force-arch" # different .h
al@21094 17
al@19741 18 BUILD_DEPENDS="perl zlib-dev util-linux-uuid-dev"
al@21020 19 SPLIT="$PACKAGE-dev"
pascal@17421 20
al@20604 21 compile_rules() {
al@20645 22 ./configure \
al@20645 23 --disable-static \
al@20645 24 $CONFIGURE_ARGS &&
al@20604 25 fix libtool &&
al@20604 26 make &&
al@20604 27 make install
pascal@17421 28 }
pascal@17421 29
al@20604 30 genpkg_rules() {
al@19741 31 case $PACKAGE in
al@19741 32 xapian)
al@19741 33 copy @std
al@19741 34 DEPENDS="util-linux-uuid zlib"
al@19741 35 ;;
al@19741 36 *-dev) copy @dev;;
al@19741 37 esac
pascal@17421 38 }