wok view xfce4-dev-tools/receipt @ rev 24972

Up lzsa (1.3.11)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 01 08:42:44 2022 +0000 (2022-05-01)
parents 17091bc7c301
children 73f36875e5a7
line source
1 # SliTaz package receipt.
3 PACKAGE="xfce4-dev-tools"
4 VERSION="4.12.0"
5 CATEGORY="development"
6 SHORT_DESC="Xfce Developpers Tools"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://xfce.org/~benny/projects/xfce4-dev-tools/"
11 WGET_URL="https://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="subversion autoconf automake intltool pkg-config"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
19 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
20 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 #patch -p1 -i $stuff/xdt-autogen-4.6.0.u || return 1
28 ./configure \
29 --prefix=/usr \
30 --infodir=/usr/share/info \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS &&
33 make && make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/share $fs/usr
43 chmod 755 $fs/usr/bin/xdt-*
44 }