wok annotate rarian/receipt @ rev 14604
Xorg marathon. Day 1. (Carefully check versions, (build-)depends, pretty-print receipts)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 31 00:58:07 2013 +0000 (2013-05-31) |
parents | 940b5937e496 |
children | 10e6c72b2c15 |
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 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@6739 | 9 WEB_SITE="http://rarian.freedesktop.org/" |
slaxemulator@6739 | 10 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
slaxemulator@6739 | 11 |
pankso@13654 | 12 DEPENDS="libxslt" |
pankso@13654 | 13 BUILD_DEPENDS="libxslt-dev" |
pankso@13654 | 14 |
slaxemulator@6739 | 15 # Rules to configure and make the package. |
slaxemulator@6739 | 16 compile_rules() |
slaxemulator@6739 | 17 { |
slaxemulator@6739 | 18 cd $src |
pascal@8974 | 19 patch -p0 -i $stuff/user-segfault.patch |
slaxemulator@6739 | 20 ./configure \ |
slaxemulator@6739 | 21 --prefix=/usr \ |
slaxemulator@6739 | 22 --infodir=/usr/share/info \ |
slaxemulator@6739 | 23 --mandir=/usr/share/man \ |
slaxemulator@6739 | 24 --sysconfdir=/etc \ |
slaxemulator@6739 | 25 --localstatedir=/var \ |
slaxemulator@6739 | 26 --disable-static \ |
slaxemulator@6739 | 27 $CONFIGURE_ARGS && |
slaxemulator@6739 | 28 make && make DESTDIR=$PWD/_pkg install |
slaxemulator@6739 | 29 } |
slaxemulator@6739 | 30 |
slaxemulator@6739 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6739 | 32 genpkg_rules() |
slaxemulator@6739 | 33 { |
slaxemulator@6739 | 34 mkdir -p $fs/usr/lib $fs/usr/share/librarian |
pankso@13654 | 35 cp -a $install/usr/bin $fs/usr |
pankso@13654 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@13654 | 37 cp -a $install/usr/share/librarian/rarian-sk-cl.xml $fs/usr/share/librarian |
pankso@13654 | 38 cp -a $install/usr/share/librarian/Templates $fs/usr/share/librarian |
pankso@13654 | 39 cp -a $install/var $fs/ |
slaxemulator@6739 | 40 } |
slaxemulator@6739 | 41 |