wok-6.x annotate xapian/receipt @ rev 24345
azpainter: added build dependency tiff-dev
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 02 09:55:35 2022 +0100 (2022-02-02) |
parents | 190956005f2c |
children | dc7cc1411708 |
rev | line source |
---|---|
pascal@17421 | 1 # SliTaz package receipt. |
pascal@17421 | 2 |
pascal@17421 | 3 PACKAGE="xapian" |
Hans-G?nter@23742 | 4 VERSION="1.4.15" |
pascal@17421 | 5 CATEGORY="office" |
pascal@17421 | 6 SHORT_DESC="An Open Source Search Engine Library." |
pascal@17421 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17421 | 8 LICENSE="GPL2" |
Hans-G?nter@22149 | 9 WEB_SITE="https://xapian.org/" |
Hans-G?nter@22149 | 10 |
pascal@17421 | 11 TARBALL="$PACKAGE-core-$VERSION.tar.xz" |
Hans-G?nter@22149 | 12 WGET_URL="https://oligarchy.co.uk/$PACKAGE/$VERSION/$TARBALL" |
pascal@17421 | 13 |
Hans-G?nter@22149 | 14 DEPENDS="gcc83-lib-base util-linux-uuid zlib" |
Hans-G?nter@22149 | 15 BUILD_DEPENDS="gcc83 util-linux-uuid-dev zlib-dev" |
pascal@17421 | 16 |
pascal@24304 | 17 # What is the latest version available today? |
pascal@24304 | 18 current_version() |
pascal@24304 | 19 { |
pascal@24304 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24304 | 21 sed '/released on/!d;s|is ||;s|<.*||;q' |
pascal@24304 | 22 } |
pascal@24304 | 23 |
pascal@17421 | 24 # Rules to configure and make the package. |
pascal@17421 | 25 compile_rules() |
pascal@17421 | 26 { |
Hans-G?nter@22149 | 27 ./configure \ |
Hans-G?nter@22149 | 28 CC=gcc-83 \ |
Hans-G?nter@22149 | 29 CXX=g++-83 \ |
Hans-G?nter@22149 | 30 --prefix=/usr \ |
Hans-G?nter@22149 | 31 $CONFIGURE_ARGS && |
Hans-G?nter@22149 | 32 make && |
Hans-G?nter@22149 | 33 make DESTDIR=$DESTDIR install |
pascal@17421 | 34 } |
pascal@17421 | 35 |
pascal@17421 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17421 | 37 genpkg_rules() |
pascal@17421 | 38 { |
pascal@17421 | 39 mkdir -p $fs/usr/lib |
Hans-G?nter@22149 | 40 |
Hans-G?nter@22149 | 41 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22149 | 42 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@17421 | 43 } |