wok-4.x view rarian/receipt @ rev 8974
[q-z]*: use veriable
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 02 11:06:20 2011 +0100 (2011-03-02) |
parents | 3511b6184c8a |
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 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 }