wok annotate wxdfast/receipt @ rev 25070
created recipe for alsa-utils-lang
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jun 11 08:40:38 2022 +0100 (2022-06-11) |
parents | 3105f866bc3e |
children | b0069c845544 |
rev | line source |
---|---|
erjo@1238 | 1 # SliTaz package receipt. |
erjo@1238 | 2 |
erjo@1238 | 3 PACKAGE="wxdfast" |
erjo@1238 | 4 VERSION="0.6.0" |
pascal@1423 | 5 CATEGORY="network" |
erjo@1238 | 6 SHORT_DESC="Download Manager." |
erjo@1238 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
erjo@1238 | 9 TARBALL="${PACKAGE}_${VERSION}.tar.gz" |
erjo@1238 | 10 WEB_SITE="http://dfast.sourceforge.net/index.html" |
pascal@24979 | 11 WGET_URL="$SF_MIRROR/dfast/$TARBALL" |
erjo@1238 | 12 |
al@18521 | 13 DEPENDS="wxWidgets28 xorg-libXdamage xorg-libXxf86vm" |
al@18521 | 14 BUILD_DEPENDS="wxWidgets28-dev" |
pascal@15000 | 15 |
pascal@24353 | 16 # What is the latest version available today? |
pascal@24353 | 17 current_version() |
pascal@24353 | 18 { |
pascal@24353 | 19 wget -O - https://sourceforge.net/projects/dfast/files/wxDownload%20Fast/ 2>/dev/null | \ |
pascal@24353 | 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24353 | 21 sed '/scope="row/!d;s|.*/wxDownload%20Fast/||;s|/.*||;q' |
pascal@24353 | 22 } |
pascal@24353 | 23 |
erjo@1238 | 24 # Rules to configure and make the package. |
erjo@1238 | 25 compile_rules() |
erjo@1238 | 26 { |
erjo@1238 | 27 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2527 | 28 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2527 | 29 make && |
pascal@15000 | 30 make DESTDIR=$DESTDIR install |
erjo@1238 | 31 } |
erjo@1238 | 32 |
erjo@1238 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1238 | 34 genpkg_rules() |
erjo@1238 | 35 { |
erjo@1238 | 36 mkdir -p $fs/usr \ |
al@18521 | 37 $fs/usr/share \ |
al@18521 | 38 $fs/usr/share/locale |
al@18521 | 39 |
pascal@15000 | 40 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 41 cp -a $install/usr/share/wxdfast $fs/usr/share |
pascal@15000 | 42 cp -a $install/usr/share/locale/fr $fs/usr/share/locale |
pascal@15000 | 43 cp -a $install/usr/share/pixmaps $fs/usr/share |
pascal@15000 | 44 cp -a $install/usr/share/applications $fs/usr/share |
erjo@1238 | 45 } |