wok view rarian/receipt @ rev 8221

imported patch cleanup_inprogress/slitaz-i18n.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:50 2011 +0100 (2011-01-27)
parents bd30b042b18a
children 940b5937e496
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 DEPENDS=""
9 BUILD_DEPENDS="libxslt-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://rarian.freedesktop.org/"
12 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 patch -p0 -i ../stuff/user-segfault.patch
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 --sysconfdir=/etc \
24 --localstatedir=/var \
25 --disable-static \
26 $CONFIGURE_ARGS &&
27 make && make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib $fs/usr/share/librarian
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 cp -a $_pkg/usr/share/librarian/rarian-sk-cl.xml $fs/usr/share/librarian
37 cp -a $_pkg/var $fs/
38 }