wok-current annotate 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 5744105c34c2
rev   line source
slaxemulator@6739 1 # SliTaz package receipt.
slaxemulator@6739 2
slaxemulator@6739 3 PACKAGE="rarian"
slaxemulator@6739 4 VERSION="0.8.1"
slaxemulator@6739 5 CATEGORY="misc"
slaxemulator@6739 6 SHORT_DESC="Documentation meta-data library, designed as a replacement for Scrollkeeper."
slaxemulator@6739 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@6739 8 DEPENDS=""
slaxemulator@6739 9 BUILD_DEPENDS="libxslt-dev"
slaxemulator@6739 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
slaxemulator@6739 11 WEB_SITE="http://rarian.freedesktop.org/"
slaxemulator@6739 12 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
slaxemulator@6739 13
slaxemulator@6739 14 # Rules to configure and make the package.
slaxemulator@6739 15 compile_rules()
slaxemulator@6739 16 {
slaxemulator@6739 17 cd $src
pascal@8974 18 patch -p0 -i $stuff/user-segfault.patch
slaxemulator@6739 19 ./configure \
slaxemulator@6739 20 --prefix=/usr \
slaxemulator@6739 21 --infodir=/usr/share/info \
slaxemulator@6739 22 --mandir=/usr/share/man \
slaxemulator@6739 23 --sysconfdir=/etc \
slaxemulator@6739 24 --localstatedir=/var \
slaxemulator@6739 25 --disable-static \
slaxemulator@6739 26 $CONFIGURE_ARGS &&
slaxemulator@6739 27 make && make DESTDIR=$PWD/_pkg install
slaxemulator@6739 28 }
slaxemulator@6739 29
slaxemulator@6739 30 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6739 31 genpkg_rules()
slaxemulator@6739 32 {
slaxemulator@6739 33 mkdir -p $fs/usr/lib $fs/usr/share/librarian
slaxemulator@6739 34 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@6739 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
slaxemulator@6739 36 cp -a $_pkg/usr/share/librarian/rarian-sk-cl.xml $fs/usr/share/librarian
slaxemulator@6740 37 cp -a $_pkg/var $fs/
slaxemulator@6739 38 }
slaxemulator@6739 39