wok-6.x view rarian/receipt @ rev 25432

motion: adapted configuration parameters to version 4.4.0
author Hans-G?nter Theisgen
date Sun Aug 21 17:07:48 2022 +0100 (2022-08-21)
parents 6135577f4d08
children
line source
1 # SliTaz package receipt.
3 PACKAGE="rarian"
4 VERSION="0.8.1"
5 CATEGORY="misc"
6 SHORT_DESC="Documentation meta-data library, designed as a replacement for Scrollkeeper."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2 LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://rarian.freedesktop.org/"
11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="libxslt"
14 BUILD_DEPENDS="libxslt-dev"
16 current_version()
17 {
18 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
19 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
26 patch -p0 -i $stuff/user-segfault.patch
27 ./configure \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 --sysconfdir=/etc \
32 --localstatedir=/var \
33 --disable-static \
34 $CONFIGURE_ARGS &&
35 make && make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib $fs/usr/share/librarian
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 cp -a $install/usr/share/librarian/rarian-sk-cl.xml $fs/usr/share/librarian
45 cp -a $install/usr/share/librarian/Templates $fs/usr/share/librarian
46 cp -a $install/var $fs/
47 }