wok view rarian/receipt @ rev 14229
nspr-dev: tiny edit
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Fri Mar 22 07:32:45 2013 +0100 (2013-03-22) |
parents | 940b5937e496 |
children | 10e6c72b2c15 |
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://rarian.freedesktop.org/"
10 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
12 DEPENDS="libxslt"
13 BUILD_DEPENDS="libxslt-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 patch -p0 -i $stuff/user-segfault.patch
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 --sysconfdir=/etc \
25 --localstatedir=/var \
26 --disable-static \
27 $CONFIGURE_ARGS &&
28 make && make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib $fs/usr/share/librarian
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $install/usr/share/librarian/rarian-sk-cl.xml $fs/usr/share/librarian
38 cp -a $install/usr/share/librarian/Templates $fs/usr/share/librarian
39 cp -a $install/var $fs/
40 }