wok view rarian/receipt @ rev 21787

voxelands: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 24 14:51:54 2019 +0200 (2019-07-24)
parents 10e6c72b2c15
children 6831608a1b2a
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 # 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 mkdir -p $fs/usr/lib $fs/usr/share/librarian
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 cp -a $install/usr/share/librarian/rarian-sk-cl.xml $fs/usr/share/librarian
39 cp -a $install/usr/share/librarian/Templates $fs/usr/share/librarian
40 cp -a $install/var $fs/
41 }