wok-next view xapian/receipt @ rev 21094

Apply "force-arch" for selected dev packages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 31 17:23:40 2018 +0200 (2018-12-31)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xapian"
4 VERSION="1.4.5"
5 CATEGORY="utilities"
6 SHORT_DESC="The open source search engine"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://xapian.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/xapian.html"
11 REPOLOGY="xapian-core"
13 TARBALL="xapian-core-$VERSION.tar.xz"
14 WGET_URL="http://oligarchy.co.uk/xapian/$VERSION/$TARBALL"
16 COOKOPTS="force-arch" # different .h
18 BUILD_DEPENDS="perl zlib-dev util-linux-uuid-dev"
19 SPLIT="$PACKAGE-dev"
21 compile_rules() {
22 ./configure \
23 --disable-static \
24 $CONFIGURE_ARGS &&
25 fix libtool &&
26 make &&
27 make install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 xapian)
33 copy @std
34 DEPENDS="util-linux-uuid zlib"
35 ;;
36 *-dev) copy @dev;;
37 esac
38 }