wok-current annotate ccd2iso/receipt @ rev 24633
updated gtick again (0.5.4 -> 0.5.5)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 08 16:29:56 2022 +0100 (2022-03-08) |
parents | 0190cbd75197 |
children | ad0bc3efbf37 |
rev | line source |
---|---|
hackdorte@19182 | 1 # SliTaz package receipt. |
hackdorte@19182 | 2 |
hackdorte@19182 | 3 PACKAGE="ccd2iso" |
hackdorte@19182 | 4 VERSION="0.3" |
hackdorte@19182 | 5 CATEGORY="misc" |
hackdorte@19182 | 6 SHORT_DESC="CloneCD image (.img) to ISO image file converter." |
hackdorte@19182 | 7 MAINTAINER="hackdorte@sapo.pt" |
hackdorte@19182 | 8 LICENSE="GPL2" |
hackdorte@19182 | 9 SUGGESTED="bchunk" |
hackdorte@19182 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
hackdorte@19182 | 11 WEB_SITE="https://sourceforge.net/projects/ccd2iso/" |
hackdorte@19182 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
hackdorte@19182 | 13 TAGS="convert img iso" |
hackdorte@19182 | 14 |
hackdorte@19182 | 15 DEPENDS="glibc-base" |
hackdorte@19182 | 16 BUILD_DEPENDS="glibc-dev" |
hackdorte@19182 | 17 |
pascal@24373 | 18 # What is the latest version available today? |
pascal@24373 | 19 current_version() |
pascal@24373 | 20 { |
pascal@24373 | 21 wget -O - https://sourceforge.net/projects/ccd2iso/files/ccd2iso/ 2>/dev/null | \ |
pascal@24373 | 22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24373 | 23 sed '/scope="row/!d;s|.*/ccd2iso/ccd2iso-||;s|/.*||;q' |
pascal@24373 | 24 } |
pascal@24373 | 25 |
hackdorte@19182 | 26 # Rules to configure and make the package. |
hackdorte@19182 | 27 compile_rules() |
hackdorte@19182 | 28 { |
hackdorte@19182 | 29 ./configure --prefix=/usr \ |
hackdorte@19182 | 30 $CONFIGURE_ARGS && |
hackdorte@19182 | 31 make $MAKEFLAGS && |
hackdorte@19182 | 32 make DESTDIR=$DESTDIR install |
hackdorte@19182 | 33 } |
hackdorte@19182 | 34 |
hackdorte@19182 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
hackdorte@19182 | 36 genpkg_rules() |
hackdorte@19182 | 37 { |
hackdorte@19182 | 38 mkdir -p $fs/usr/bin |
hackdorte@19182 | 39 cp -a $install/usr/bin/* $fs/usr/bin |
hackdorte@19182 | 40 } |