wok-current view xapian/receipt @ rev 24670
updated iperf (3.7 -> 3.11)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 17:07:08 2022 +0100 (2022-03-11) |
parents | 190956005f2c |
children | dc7cc1411708 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xapian"
4 VERSION="1.4.15"
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/"
11 TARBALL="$PACKAGE-core-$VERSION.tar.xz"
12 WGET_URL="https://oligarchy.co.uk/$PACKAGE/$VERSION/$TARBALL"
14 DEPENDS="gcc83-lib-base util-linux-uuid zlib"
15 BUILD_DEPENDS="gcc83 util-linux-uuid-dev zlib-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/released on/!d;s|is ||;s|<.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 CC=gcc-83 \
29 CXX=g++-83 \
30 --prefix=/usr \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 }