wok-6.x annotate cdrtools/receipt @ rev 24383
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 06 11:51:57 2022 +0000 (2022-02-06) |
parents | ec3f6d59b1ad |
children | b0069c845544 |
rev | line source |
---|---|
pascal@11218 | 1 # SliTaz package receipt. |
pascal@11218 | 2 |
pascal@11218 | 3 PACKAGE="cdrtools" |
Hans-G?nter@20777 | 4 VERSION="3.02a09" |
pascal@11218 | 5 CATEGORY="multimedia" |
pascal@11218 | 6 SHORT_DESC="Command line programs to record CD/DVD/BluRay media." |
pascal@11218 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15295 | 8 LICENSE="GPL2 LGPL2.1" |
pascal@20671 | 9 WEB_SITE="http://cdrtools.sourceforge.net/private/cdrecord.html" |
Hans-G?nter@20777 | 10 |
pascal@20680 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20676 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@20676 | 13 CONFIG_FILES="/etc/default/cdrecord /etc/default/rscsi" |
pascal@11218 | 14 |
pascal@15295 | 15 DEPENDS="" |
pascal@20676 | 16 BUILD_DEPENDS="acl-dev libcap-dev" |
pascal@15295 | 17 |
pascal@24383 | 18 # What is the latest version available today? |
pascal@24383 | 19 current_version() |
pascal@24383 | 20 { |
pascal@24383 | 21 wget -O - https://sourceforge.net/projects/cdrtools/files/alpha/ 2>/dev/null | \ |
pascal@24383 | 22 sed '/scope="row/!d;/tar/!d;s|.*/cdrtools-||;s|.tar.*||;q' |
pascal@24383 | 23 } |
pascal@24383 | 24 |
pascal@11218 | 25 # Rules to configure and make the package. |
pascal@11218 | 26 compile_rules() |
pascal@11218 | 27 { |
pascal@20560 | 28 sed -i 's|uname -m|echo i686|' RULES/* |
pascal@20680 | 29 sed -i 's/DEFINSGRP=.*/DEFINSGRP=root/' DEFAULTS/Defaults.linux |
pascal@20680 | 30 { |
pascal@20680 | 31 ./configure |
Hans-G?nter@20777 | 32 make -j 1 && |
Hans-G?nter@20777 | 33 make -j 1 DESTDIR=$DESTDIR install |
pascal@20680 | 34 } 2>&1 | sed 's/: No such/: no such/' |
al@19288 | 35 |
pascal@20680 | 36 mkdir -p $install/usr |
pascal@20680 | 37 mv $install/opt/schily/* $install/usr |
pascal@11218 | 38 } |
pascal@11218 | 39 |
pascal@11218 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11218 | 41 genpkg_rules() |
pascal@11218 | 42 { |
pascal@11218 | 43 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@15295 | 44 cp -a $install/etc $fs |
al@19288 | 45 cp -a $install/usr/bin $fs/usr |
pascal@20680 | 46 cp -a $install/usr/sbin $fs/usr |
al@19288 | 47 cp -a $install/usr/lib/siconv $fs/usr/lib |
al@19288 | 48 cp -a $install/usr/share/doc $fs/usr/share |
pascal@11218 | 49 } |