wok-next view rarian/receipt @ rev 20075
tiny edit
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Oct 25 08:30:39 2017 +0200 (2017-10-25) |
parents | 10e6c72b2c15 |
children | d43bf7aae921 |
line source
1 # SliTaz package receipt v2.
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="http://rarian.freedesktop.org/"
11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 BUILD_DEPENDS="libxslt-dev"
14 SPLIT="rarian-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 patch -p0 -i $stuff/user-segfault.patch
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 --sysconfdir=/etc \
26 --localstatedir=/var \
27 --disable-static \
28 $CONFIGURE_ARGS &&
29 make && make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 case $PACKAGE in
36 rarian)
37 copy @std
38 DEPENDS="libxslt"
39 ;;
40 rarian-dev)
41 copy @dev
42 DEPENDS="rarian pkg-config"
43 ;;
44 esac
45 }