wok-next diff xapian/receipt @ rev 20526
Up mtpaint (3.49.13)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 23 17:51:29 2018 +0200 (2018-03-23) |
parents | 5392e474ed6e |
children | 10df65db91ad |
line diff
1.1 --- a/xapian/receipt Wed Dec 03 23:00:22 2014 +0100 1.2 +++ b/xapian/receipt Fri Mar 23 17:51:29 2018 +0200 1.3 @@ -1,29 +1,33 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="xapian" 1.8 -VERSION="1.2.19" 1.9 -CATEGORY="office" 1.10 -SHORT_DESC="An Open Source Search Engine Library." 1.11 +VERSION="1.4.4" 1.12 +CATEGORY="utilities" 1.13 +SHORT_DESC="The open source search engine" 1.14 MAINTAINER="pascal.bellard@slitaz.org" 1.15 LICENSE="GPL2" 1.16 -TARBALL="$PACKAGE-core-$VERSION.tar.xz" 1.17 -WEB_SITE="http://xapian.org/" 1.18 -WGET_URL="http://oligarchy.co.uk/$PACKAGE/$VERSION/$TARBALL" 1.19 +WEB_SITE="https://xapian.org/" 1.20 1.21 -DEPENDS="util-linux-uuid zlib gcc-lib-base" 1.22 -BUILD_DEPENDS="util-linux-uuid-dev zlib-dev" 1.23 +TARBALL="xapian-core-$VERSION.tar.xz" 1.24 +WGET_URL="http://oligarchy.co.uk/xapian/$VERSION/$TARBALL" 1.25 + 1.26 +BUILD_DEPENDS="perl zlib-dev util-linux-uuid-dev" 1.27 +SPLIT="xapian-dev" 1.28 1.29 # Rules to configure and make the package. 1.30 compile_rules() 1.31 { 1.32 - ./configure --prefix=/usr $CONFIGURE_ARGS && 1.33 - make && make DESTDIR=$DESTDIR install 1.34 + ./configure $CONFIGURE_ARGS && make && make install 1.35 } 1.36 1.37 # Rules to gen a SliTaz package suitable for Tazpkg. 1.38 genpkg_rules() 1.39 { 1.40 - mkdir -p $fs/usr/lib 1.41 - cp -a $install/usr/bin $fs/usr 1.42 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.43 + case $PACKAGE in 1.44 + xapian) 1.45 + copy @std 1.46 + DEPENDS="util-linux-uuid zlib" 1.47 + ;; 1.48 + *-dev) copy @dev;; 1.49 + esac 1.50 }