wok annotate gnome-doc-utils/receipt @ rev 25473
created recipe for get-java8-jre
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 12 10:36:11 2022 +0100 (2022-10-12) |
parents | 86790a278e70 |
children |
rev | line source |
---|---|
erjo@1445 | 1 # SliTaz package receipt. |
erjo@1445 | 2 |
erjo@1445 | 3 PACKAGE="gnome-doc-utils" |
pascal@15329 | 4 VERSION="0.20.10" |
pascal@1506 | 5 CATEGORY="misc" |
erjo@1445 | 6 SHORT_DESC="Documentation utilities for Gnome" |
erjo@1445 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15329 | 8 LICENSE="GPL2 LGPL2.1" |
pascal@15329 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@20421 | 10 WEB_SITE="https://www.gnome.org/" |
pascal@15329 | 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
pascal@15329 | 12 |
slaxemulator@9356 | 13 DEPENDS="libxml2 libxslt python libxml2-python rarian docbook-xml" |
al@18077 | 14 BUILD_DEPENDS="libxml2-dev libxslt-dev rarian-dev libxml2-python pkg-config \ |
al@18077 | 15 intltool" |
erjo@1445 | 16 |
pascal@24111 | 17 current_version() |
pascal@24111 | 18 { |
pascal@24111 | 19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24111 | 20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24111 | 21 } |
pascal@24111 | 22 |
erjo@1445 | 23 # Rules to configure and make the package. |
erjo@1445 | 24 compile_rules() |
erjo@1445 | 25 { |
erjo@1445 | 26 ./configure --prefix=/usr \ |
al@18077 | 27 --infodir=/usr/share/info \ |
al@18077 | 28 --sysconfdir=/etc \ |
al@18077 | 29 --localstatedir=/var \ |
al@18077 | 30 --disable-scrollkeeper \ |
al@18077 | 31 --mandir=/usr/share/man $CONFIGURE_ARGS && |
slaxemulator@9353 | 32 make -j1 && |
pascal@15329 | 33 make -j1 DESTDIR=$DESTDIR install |
erjo@1445 | 34 } |
erjo@1445 | 35 |
erjo@1445 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1445 | 37 genpkg_rules() |
erjo@1445 | 38 { |
erjo@1445 | 39 mkdir -p $fs/usr/bin $fs/usr/share/locale |
pascal@15329 | 40 cp -a $install/usr/bin/gnome-doc-tool $fs/usr/bin |
pascal@15329 | 41 cp -a $install/usr/bin/xml2po $fs/usr/bin |
pascal@15329 | 42 cp -a $install/usr/share/xml $fs/usr/share |
pascal@15329 | 43 cp -a $install/usr/lib $fs/usr |
erjo@1445 | 44 } |