wok view yelp-tools/receipt @ rev 25506
memtest, pack: cleanup
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 09 16:28:01 2023 +0000 (21 months ago) |
parents | ef8598e320f4 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="yelp-tools"
4 VERSION="3.32.2"
5 CATEGORY="utilities"
6 SHORT_DESC="Tools to create documentation."
7 MAINTAINER="yuripourre@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://wiki.gnome.org/Apps/Yelp/Tools"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS="bash yelp-xsl"
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 $fs
41 }