wok-next annotate rarian/receipt @ rev 20395
e4rat: update patch (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 02 12:33:04 2017 +0100 (2017-12-02) |
parents | 10e6c72b2c15 |
children | d43bf7aae921 |
rev | line source |
---|---|
slaxemulator@19740 | 1 # SliTaz package receipt v2. |
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" |
pascal@15021 | 8 LICENSE="GPL2 LGPL2.1" |
slaxemulator@6739 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@6739 | 10 WEB_SITE="http://rarian.freedesktop.org/" |
slaxemulator@6739 | 11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
slaxemulator@6739 | 12 |
pankso@13654 | 13 BUILD_DEPENDS="libxslt-dev" |
slaxemulator@19740 | 14 SPLIT="rarian-dev" |
pankso@13654 | 15 |
slaxemulator@6739 | 16 # Rules to configure and make the package. |
slaxemulator@6739 | 17 compile_rules() |
slaxemulator@6739 | 18 { |
slaxemulator@6739 | 19 cd $src |
pascal@8974 | 20 patch -p0 -i $stuff/user-segfault.patch |
slaxemulator@6739 | 21 ./configure \ |
slaxemulator@6739 | 22 --prefix=/usr \ |
slaxemulator@6739 | 23 --infodir=/usr/share/info \ |
slaxemulator@6739 | 24 --mandir=/usr/share/man \ |
slaxemulator@6739 | 25 --sysconfdir=/etc \ |
slaxemulator@6739 | 26 --localstatedir=/var \ |
slaxemulator@6739 | 27 --disable-static \ |
slaxemulator@6739 | 28 $CONFIGURE_ARGS && |
pascal@15021 | 29 make && make DESTDIR=$DESTDIR install |
slaxemulator@6739 | 30 } |
slaxemulator@6739 | 31 |
slaxemulator@6739 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6739 | 33 genpkg_rules() |
slaxemulator@6739 | 34 { |
slaxemulator@19740 | 35 case $PACKAGE in |
slaxemulator@19740 | 36 rarian) |
slaxemulator@19740 | 37 copy @std |
slaxemulator@19740 | 38 DEPENDS="libxslt" |
slaxemulator@19740 | 39 ;; |
slaxemulator@19740 | 40 rarian-dev) |
slaxemulator@19740 | 41 copy @dev |
slaxemulator@19740 | 42 DEPENDS="rarian pkg-config" |
slaxemulator@19740 | 43 ;; |
slaxemulator@19740 | 44 esac |
slaxemulator@6739 | 45 } |