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