wok view yelp-xsl/receipt @ rev 25503

f3: include extra programs
author Hans-G?nter Theisgen
date Fri Jan 27 10:37:43 2023 +0100 (15 months ago)
parents d499c84f85cf
children
line source
1 # SliTaz package receipt.
3 PACKAGE="yelp-xsl"
4 VERSION="3.36.0"
5 CATEGORY="utilities"
6 SHORT_DESC="Contains XSL stylesheets that are used by the Yelp."
7 MAINTAINER="yuripourre@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://wiki.gnome.org/Apps/Yelp"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 DEPENDS="intltool itstool libxslt"
15 BUILD_DEPENDS="bash itstool libxslt-dev"
17 current_version()
18 {
19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 export SHELL=/bin/bash
27 export CONFIG_SHELL=/bin/bash
28 sed -i '1s|/usr/bin/sh|/bin/bash|' install-sh
30 ./configure \
31 --prefix=/usr \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
40 cp -a $install/usr/share $fs/usr
41 }