wok annotate cdrtools/receipt @ rev 24353

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 03 12:55:23 2022 +0000 (2022-02-03)
parents eb3db1a07cca
children 076f424196b2
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@11218 18 # Rules to configure and make the package.
pascal@11218 19 compile_rules()
pascal@11218 20 {
pascal@20560 21 sed -i 's|uname -m|echo i686|' RULES/*
pascal@20680 22 sed -i 's/DEFINSGRP=.*/DEFINSGRP=root/' DEFAULTS/Defaults.linux
pascal@20680 23 {
pascal@20680 24 ./configure
Hans-G?nter@20777 25 make -j 1 &&
Hans-G?nter@20777 26 make -j 1 DESTDIR=$DESTDIR install
pascal@20680 27 } 2>&1 | sed 's/: No such/: no such/'
al@19288 28
pascal@20680 29 mkdir -p $install/usr
pascal@20680 30 mv $install/opt/schily/* $install/usr
pascal@11218 31 }
pascal@11218 32
pascal@11218 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11218 34 genpkg_rules()
pascal@11218 35 {
pascal@11218 36 mkdir -p $fs/usr/lib $fs/usr/share
pascal@15295 37 cp -a $install/etc $fs
al@19288 38 cp -a $install/usr/bin $fs/usr
pascal@20680 39 cp -a $install/usr/sbin $fs/usr
al@19288 40 cp -a $install/usr/lib/siconv $fs/usr/lib
al@19288 41 cp -a $install/usr/share/doc $fs/usr/share
pascal@11218 42 }