wok-6.x view rarian/receipt @ rev 18317
slitaz-boot-scripts: typo
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sat Aug 29 19:59:04 2015 +0200 (2015-08-29) |
parents | 5744105c34c2 |
children | 6135577f4d08 |
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 LICENSE="GPL2 LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://rarian.freedesktop.org/"
11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="libxslt"
14 BUILD_DEPENDS="libxslt-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 patch -p0 -i $stuff/user-segfault.patch
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 --sysconfdir=/etc \
26 --localstatedir=/var \
27 --disable-static \
28 $CONFIGURE_ARGS &&
29 make && make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib $fs/usr/share/librarian
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 cp -a $install/usr/share/librarian/rarian-sk-cl.xml $fs/usr/share/librarian
39 cp -a $install/usr/share/librarian/Templates $fs/usr/share/librarian
40 cp -a $install/var $fs/
41 }