wok annotate cdrtools/receipt @ rev 20676
Up cdrtools (3.01)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 24 23:10:49 2019 +0100 (2019-01-24) |
parents | 6e8b1bcb30e2 |
children | ec7ad2a55c38 |
rev | line source |
---|---|
pascal@11218 | 1 # SliTaz package receipt. |
pascal@11218 | 2 |
pascal@11218 | 3 PACKAGE="cdrtools" |
pascal@20676 | 4 VERSION="3.01" |
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" |
pascal@20676 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20676 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@20676 | 12 CONFIG_FILES="/etc/default/cdrecord /etc/default/rscsi" |
pascal@11218 | 13 |
pascal@15295 | 14 DEPENDS="" |
pascal@20676 | 15 BUILD_DEPENDS="acl-dev libcap-dev" |
pascal@15295 | 16 |
pascal@11218 | 17 # Rules to configure and make the package. |
pascal@11218 | 18 compile_rules() |
pascal@11218 | 19 { |
pascal@20560 | 20 sed -i 's|uname -m|echo i686|' RULES/* |
pascal@20676 | 21 sed -i 's|/opt/schily|/usr|g; s|DEFINSGRP=.*|DEFINSGRP=root|' \ |
pascal@20676 | 22 DEFAULTS/Defaults.linux |
pascal@20676 | 23 # install rscsi to /usr/bin instead of /usr/sbin |
pascal@20676 | 24 sed -i 's|INSDIR=.*|INSDIR=bin|' rscsi/Makefile |
al@19288 | 25 |
pascal@20676 | 26 export GMAKE_NOWARN=true INS_BASE=/usr INS_RBASE=/ |
pascal@20676 | 27 cp cdda2wav/lconfig.h.in cdda2wav/lconfig.h |
pascal@20676 | 28 |
pascal@20676 | 29 make && make install |
pascal@11218 | 30 } |
pascal@11218 | 31 |
pascal@11218 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11218 | 33 genpkg_rules() |
pascal@11218 | 34 { |
pascal@11218 | 35 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@15295 | 36 cp -a $install/etc $fs |
al@19288 | 37 cp -a $install/usr/bin $fs/usr |
al@19288 | 38 cp -a $install/usr/sbin $fs/usr |
al@19288 | 39 cp -a $install/usr/lib/siconv $fs/usr/lib |
al@19288 | 40 cp -a $install/usr/share/doc $fs/usr/share |
pascal@20676 | 41 |
pascal@20676 | 42 # cdrkit compatibility |
pascal@20676 | 43 ln -s cdrecord $fs/usr/bin/wodim |
pascal@20676 | 44 ln -s readcd $fs/usr/bin/readom |
pascal@20676 | 45 ln -s mkisofs $fs/usr/bin/genisoimage |
pascal@20676 | 46 ln -s cdda2wav $fs/usr/bin/icedax |
pascal@11218 | 47 } |