wok view xapian/receipt @ rev 25442

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 02 16:30:36 2022 +0000 (2022-09-02)
parents 922f061231c2
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xapian"
4 VERSION="1.4.20"
5 CATEGORY="office"
6 SHORT_DESC="An Open Source Search Engine Library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://xapian.org/"
10 REPOLOGY="xapian-core"
12 TARBALL="$PACKAGE-core-$VERSION.tar.xz"
13 WGET_URL="https://oligarchy.co.uk/$PACKAGE/$VERSION/$TARBALL"
15 DEPENDS="gcc83-lib-base util-linux-uuid zlib"
16 BUILD_DEPENDS="gcc83 util-linux-uuid-dev zlib-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed '/released on/!d;s|is ||;s|<.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 CC=gcc-83 \
30 CXX=g++-83 \
31 --prefix=/usr \
32 $CONFIGURE_ARGS &&
33 make &&
34 make install DESTDIR=$DESTDIR
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cook_copy_folders bin
41 cook_copy_files *.so*
42 }