wok annotate yelp-tools/receipt @ rev 25519
created recipes for libuv and libuv-dev 1.44.1
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 24 15:35:59 2023 +0100 (20 months ago) |
parents | ef8598e320f4 |
children |
rev | line source |
---|---|
yuripourre@16944 | 1 # SliTaz package receipt. |
yuripourre@16944 | 2 |
yuripourre@16944 | 3 PACKAGE="yelp-tools" |
Hans-G?nter@22322 | 4 VERSION="3.32.2" |
yuripourre@16944 | 5 CATEGORY="utilities" |
yuripourre@16944 | 6 SHORT_DESC="Tools to create documentation." |
yuripourre@16944 | 7 MAINTAINER="yuripourre@gmail.com" |
Hans-G?nter@22322 | 8 LICENSE="GPL2" |
Hans-G?nter@22322 | 9 WEB_SITE="https://wiki.gnome.org/Apps/Yelp/Tools" |
Hans-G?nter@22322 | 10 |
yuripourre@16944 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
yuripourre@16944 | 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
yuripourre@16944 | 13 |
yuripourre@16944 | 14 DEPENDS="" |
Hans-G?nter@22322 | 15 BUILD_DEPENDS="bash yelp-xsl" |
yuripourre@16944 | 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@16944 | 23 # Rules to configure and make the package. |
yuripourre@16944 | 24 compile_rules() |
yuripourre@16944 | 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 |
yuripourre@16944 | 30 ./configure \ |
yuripourre@16944 | 31 --prefix=/usr \ |
yuripourre@16944 | 32 $CONFIGURE_ARGS && |
yuripourre@16944 | 33 make && |
yuripourre@16944 | 34 make DESTDIR=$DESTDIR install |
yuripourre@16944 | 35 } |
yuripourre@16944 | 36 |
yuripourre@16944 | 37 genpkg_rules() |
yuripourre@16944 | 38 { |
yuripourre@16944 | 39 mkdir -p $fs/usr |
yuripourre@16944 | 40 cp -a $install/usr $fs |
yuripourre@16944 | 41 } |