wok annotate xdg-user-dirs/receipt @ rev 25074

Add python-ipaddress
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 13 19:39:39 2022 +0000 (23 months ago)
parents d443265acbc1
children
rev   line source
yuripourre@17814 1 # SliTaz package receipt.
yuripourre@17814 2
yuripourre@17814 3 PACKAGE="xdg-user-dirs"
Hans-G?nter@22157 4 VERSION="0.17"
yuripourre@17814 5 CATEGORY="utilities"
yuripourre@17814 6 LICENSE="GPL"
yuripourre@17814 7 SHORT_DESC="Tool to help manage user directories."
yuripourre@17814 8 MAINTAINER="yuripourre@gmail.com"
Hans-G?nter@22157 9 WEB_SITE="https://www.freedesktop.org/wiki/Software/xdg-user-dirs"
Hans-G?nter@22157 10
yuripourre@17814 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22157 12 WGET_URL="https://user-dirs.freedesktop.org/releases/$TARBALL"
yuripourre@17814 13
yuripourre@17814 14 DEPENDS=""
pascal@23623 15 BUILD_DEPENDS="libtool gawk"
yuripourre@17814 16
pascal@24465 17 # What is the latest version available today?
pascal@24465 18 current_version()
pascal@24465 19 {
pascal@24465 20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
pascal@24465 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24465 22 }
pascal@24465 23
yuripourre@17814 24 # Rules to configure and make the package.
yuripourre@17814 25 compile_rules()
yuripourre@17814 26 {
Hans-G?nter@22157 27 ./autogen.sh \
Hans-G?nter@22157 28 --disable-documentation \
yuripourre@17814 29 $CONFIGURE_ARGS &&
yuripourre@17814 30 make &&
yuripourre@17814 31 make DESTDIR=$DESTDIR install
yuripourre@17814 32 }
yuripourre@17814 33
yuripourre@17814 34 genpkg_rules()
yuripourre@17814 35 {
yuripourre@17814 36 mkdir -p $fs/usr
yuripourre@17814 37 cp -a $install/usr/bin $fs/usr
yuripourre@17814 38 }