wok-6.x annotate xapian/receipt @ rev 25564
Add missing glibc 2.19 patchs
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon May 08 16:56:41 2023 +0200 (18 months ago) |
parents | 922f061231c2 |
children |
rev | line source |
---|---|
pascal@17421 | 1 # SliTaz package receipt. |
pascal@17421 | 2 |
pascal@17421 | 3 PACKAGE="xapian" |
Hans-G?nter@25427 | 4 VERSION="1.4.20" |
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@25427 | 10 REPOLOGY="xapian-core" |
Hans-G?nter@22149 | 11 |
pascal@17421 | 12 TARBALL="$PACKAGE-core-$VERSION.tar.xz" |
Hans-G?nter@22149 | 13 WGET_URL="https://oligarchy.co.uk/$PACKAGE/$VERSION/$TARBALL" |
pascal@17421 | 14 |
Hans-G?nter@22149 | 15 DEPENDS="gcc83-lib-base util-linux-uuid zlib" |
Hans-G?nter@22149 | 16 BUILD_DEPENDS="gcc83 util-linux-uuid-dev zlib-dev" |
pascal@17421 | 17 |
pascal@24304 | 18 # What is the latest version available today? |
pascal@24304 | 19 current_version() |
pascal@24304 | 20 { |
pascal@24304 | 21 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24304 | 22 sed '/released on/!d;s|is ||;s|<.*||;q' |
pascal@24304 | 23 } |
pascal@24304 | 24 |
pascal@17421 | 25 # Rules to configure and make the package. |
pascal@17421 | 26 compile_rules() |
pascal@17421 | 27 { |
Hans-G?nter@22149 | 28 ./configure \ |
Hans-G?nter@22149 | 29 CC=gcc-83 \ |
Hans-G?nter@22149 | 30 CXX=g++-83 \ |
Hans-G?nter@22149 | 31 --prefix=/usr \ |
Hans-G?nter@22149 | 32 $CONFIGURE_ARGS && |
Hans-G?nter@22149 | 33 make && |
Hans-G?nter@25427 | 34 make install DESTDIR=$DESTDIR |
pascal@17421 | 35 } |
pascal@17421 | 36 |
pascal@17421 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17421 | 38 genpkg_rules() |
pascal@17421 | 39 { |
Hans-G?nter@25427 | 40 cook_copy_folders bin |
Hans-G?nter@25427 | 41 cook_copy_files *.so* |
pascal@17421 | 42 } |