wok annotate rarian/receipt @ rev 25082
updated oxygen-icons (5.68.0 -> 5.95.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 15 17:04:41 2022 +0100 (2022-06-15) |
parents | 6135577f4d08 |
children |
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" |
pascal@15021 | 8 LICENSE="GPL2 LGPL2.1" |
slaxemulator@6739 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20679 | 10 WEB_SITE="https://rarian.freedesktop.org/" |
slaxemulator@6739 | 11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
slaxemulator@6739 | 12 |
pankso@13654 | 13 DEPENDS="libxslt" |
pankso@13654 | 14 BUILD_DEPENDS="libxslt-dev" |
pankso@13654 | 15 |
pascal@24111 | 16 current_version() |
pascal@24111 | 17 { |
pascal@24111 | 18 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24111 | 19 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24111 | 20 } |
pascal@24111 | 21 |
slaxemulator@6739 | 22 # Rules to configure and make the package. |
slaxemulator@6739 | 23 compile_rules() |
slaxemulator@6739 | 24 { |
slaxemulator@6739 | 25 cd $src |
pascal@8974 | 26 patch -p0 -i $stuff/user-segfault.patch |
slaxemulator@6739 | 27 ./configure \ |
slaxemulator@6739 | 28 --prefix=/usr \ |
slaxemulator@6739 | 29 --infodir=/usr/share/info \ |
slaxemulator@6739 | 30 --mandir=/usr/share/man \ |
slaxemulator@6739 | 31 --sysconfdir=/etc \ |
slaxemulator@6739 | 32 --localstatedir=/var \ |
slaxemulator@6739 | 33 --disable-static \ |
slaxemulator@6739 | 34 $CONFIGURE_ARGS && |
pascal@15021 | 35 make && make DESTDIR=$DESTDIR install |
slaxemulator@6739 | 36 } |
slaxemulator@6739 | 37 |
slaxemulator@6739 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6739 | 39 genpkg_rules() |
slaxemulator@6739 | 40 { |
slaxemulator@6739 | 41 mkdir -p $fs/usr/lib $fs/usr/share/librarian |
pankso@13654 | 42 cp -a $install/usr/bin $fs/usr |
pankso@13654 | 43 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@13654 | 44 cp -a $install/usr/share/librarian/rarian-sk-cl.xml $fs/usr/share/librarian |
pankso@13654 | 45 cp -a $install/usr/share/librarian/Templates $fs/usr/share/librarian |
pankso@13654 | 46 cp -a $install/var $fs/ |
slaxemulator@6739 | 47 } |
slaxemulator@6739 | 48 |