wok-current annotate yelp-xsl/receipt @ rev 25525
created recipe for lua5.1-lpeg 1.0.2
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 24 17:54:40 2023 +0100 (18 months ago) |
parents | d499c84f85cf |
children |
rev | line source |
---|---|
yuripourre@16810 | 1 # SliTaz package receipt. |
yuripourre@16810 | 2 |
yuripourre@16810 | 3 PACKAGE="yelp-xsl" |
Hans-G?nter@23789 | 4 VERSION="3.36.0" |
yuripourre@16810 | 5 CATEGORY="utilities" |
Hans-G?nter@22322 | 6 SHORT_DESC="Contains XSL stylesheets that are used by the Yelp." |
Hans-G?nter@22322 | 7 MAINTAINER="yuripourre@gmail.com" |
yuripourre@16810 | 8 LICENSE="GPL2" |
Hans-G?nter@22322 | 9 WEB_SITE="https://wiki.gnome.org/Apps/Yelp" |
Hans-G?nter@22322 | 10 |
yuripourre@16810 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
yuripourre@16944 | 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
yuripourre@16810 | 13 |
Hans-G?nter@22322 | 14 DEPENDS="intltool itstool libxslt" |
Hans-G?nter@22322 | 15 BUILD_DEPENDS="bash itstool libxslt-dev" |
yuripourre@16810 | 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 |
yuripourre@16810 | 23 # Rules to configure and make the package. |
yuripourre@16810 | 24 compile_rules() |
yuripourre@16810 | 25 { |
Hans-G?nter@22322 | 26 export SHELL=/bin/bash |
Hans-G?nter@22322 | 27 export CONFIG_SHELL=/bin/bash |
Hans-G?nter@22322 | 28 sed -i '1s|/usr/bin/sh|/bin/bash|' install-sh |
Hans-G?nter@22322 | 29 |
Hans-G?nter@22322 | 30 ./configure \ |
Hans-G?nter@22322 | 31 --prefix=/usr \ |
yuripourre@16810 | 32 $CONFIGURE_ARGS && |
yuripourre@16810 | 33 make && |
yuripourre@16810 | 34 make DESTDIR=$DESTDIR install |
yuripourre@16810 | 35 } |
yuripourre@16810 | 36 |
yuripourre@16810 | 37 genpkg_rules() |
yuripourre@16810 | 38 { |
yuripourre@16810 | 39 mkdir -p $fs/usr |
Hans-G?nter@23789 | 40 cp -a $install/usr/share $fs/usr |
yuripourre@16810 | 41 } |