wok-current annotate libxfce4util/receipt @ rev 25342
Down python-bcrypt: last version supporting python < 3.6
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 24 17:10:41 2022 +0000 (2022-07-24) |
parents | 17091bc7c301 |
children |
rev | line source |
---|---|
erjo@2076 | 1 # SliTaz package receipt. |
erjo@2076 | 2 |
erjo@2076 | 3 PACKAGE="libxfce4util" |
erkan@22419 | 4 VERSION="4.12.1" |
erjo@2076 | 5 CATEGORY="x-window" |
erjo@2076 | 6 SHORT_DESC="Xfce Utility library" |
erjo@2076 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15004 | 8 LICENSE="LGPL2" |
erjo@2076 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20671 | 10 WEB_SITE="https://www.xfce.org" |
pascal@24972 | 11 WGET_URL="https://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL" |
erjo@2076 | 12 |
pascal@14718 | 13 DEPENDS="gtk+" |
pascal@16649 | 14 BUILD_DEPENDS="gtk+-dev intltool pkg-config" |
pascal@14718 | 15 |
pascal@24415 | 16 # What is the latest version available today? |
pascal@24415 | 17 current_version() |
pascal@24415 | 18 { |
pascal@24415 | 19 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ |
pascal@24415 | 20 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ |
pascal@24415 | 21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q |
pascal@24415 | 22 } |
pascal@24415 | 23 |
erjo@2076 | 24 # Rules to configure and make the package. |
erjo@2076 | 25 compile_rules() |
erjo@2076 | 26 { |
erjo@2076 | 27 cd $src |
erjo@2076 | 28 ./configure --prefix=/usr \ |
erjo@2076 | 29 --infodir=/usr/share/info \ |
erjo@8018 | 30 --disable-debug \ |
erjo@2076 | 31 --mandir=/usr/share/man $CONFIGURE_ARGS && \ |
pascal@14718 | 32 make && make DESTDIR=$DESTDIR install |
erjo@2076 | 33 } |
erjo@2076 | 34 |
erjo@2076 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2076 | 36 genpkg_rules() |
erjo@2076 | 37 { |
erjo@2076 | 38 mkdir -p $fs/usr \ |
erjo@2076 | 39 $fs/usr/lib \ |
erjo@2076 | 40 $fs/usr/share/locale |
erjo@2076 | 41 |
pascal@14718 | 42 cp -a $install/usr/sbin $fs/usr |
pascal@14718 | 43 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@14718 | 44 cp -a $install/usr/share/locale/fr $fs/usr/share/locale |
erjo@2076 | 45 } |
erjo@2076 | 46 |