wok annotate xfce4-dev-tools/receipt @ rev 24551
updated fish and fish-doc (3.0.2 -> 3.3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 09:50:31 2022 +0100 (2022-02-25) |
parents | 251c25e029b0 |
children | bd7510903310 |
rev | line source |
---|---|
erjo@5846 | 1 # SliTaz package receipt. |
erjo@5846 | 2 |
erjo@5846 | 3 PACKAGE="xfce4-dev-tools" |
erkan@22419 | 4 VERSION="4.12.0" |
erjo@5846 | 5 CATEGORY="development" |
al@20422 | 6 SHORT_DESC="Xfce Developpers Tools" |
erjo@5846 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15579 | 8 LICENSE="GPL2" |
erjo@5846 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@5846 | 10 WEB_SITE="http://xfce.org/~benny/projects/xfce4-dev-tools/" |
slaxemulator@8046 | 11 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL" |
erjo@5846 | 12 |
pascal@15579 | 13 DEPENDS="subversion autoconf automake intltool pkg-config" |
pascal@15579 | 14 |
pascal@24415 | 15 # What is the latest version available today? |
pascal@24415 | 16 current_version() |
pascal@24415 | 17 { |
pascal@24415 | 18 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ |
pascal@24415 | 19 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ |
pascal@24415 | 20 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q |
pascal@24415 | 21 } |
pascal@24415 | 22 |
erjo@5846 | 23 # Rules to configure and make the package. |
erjo@5846 | 24 compile_rules() |
erjo@5846 | 25 { |
erjo@5846 | 26 cd $src |
slaxemulator@9700 | 27 #patch -p1 -i $stuff/xdt-autogen-4.6.0.u || return 1 |
erjo@5846 | 28 ./configure \ |
erjo@5846 | 29 --prefix=/usr \ |
erjo@5846 | 30 --infodir=/usr/share/info \ |
erjo@5846 | 31 --mandir=/usr/share/man \ |
erjo@5846 | 32 $CONFIGURE_ARGS && |
pascal@15579 | 33 make && make DESTDIR=$DESTDIR install |
erjo@5846 | 34 } |
erjo@5846 | 35 |
erjo@5846 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@5846 | 37 genpkg_rules() |
erjo@5846 | 38 { |
erjo@5846 | 39 mkdir -p $fs/usr |
pascal@15579 | 40 cp -a $install/usr/bin $fs/usr |
pascal@15579 | 41 cp -a $install/usr/share $fs/usr |
erjo@5846 | 42 |
erjo@5846 | 43 chmod 755 $fs/usr/bin/xdt-* |
erjo@5846 | 44 } |