wok-next annotate cdrtools/receipt @ rev 21276
try to build gens-gs again
author | Hans-G?nter Theisgen |
---|---|
date | Sat Dec 07 15:51:18 2019 +0100 (2019-12-07) |
parents | b9da2b1ae771 |
children |
rev | line source |
---|---|
al@20946 | 1 # SliTaz package receipt v2. |
pascal@11218 | 2 |
pascal@11218 | 3 PACKAGE="cdrtools" |
al@20946 | 4 VERSION="3.01" |
pascal@11218 | 5 CATEGORY="multimedia" |
al@20946 | 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" |
al@20943 | 9 WEB_SITE="http://cdrtools.sourceforge.net/private/cdrecord.html" |
pascal@11218 | 10 |
al@20946 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@20946 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@15295 | 13 |
al@20946 | 14 BUILD_DEPENDS="acl-dev libcap-dev" |
al@20946 | 15 SPLIT="$PACKAGE-dev" |
al@19288 | 16 |
Hans-G?nter@21225 | 17 compile_rules() |
Hans-G?nter@21225 | 18 { |
al@20946 | 19 sed -i 's|/opt/schily|/usr|g; s|DEFINSGRP=.*|DEFINSGRP=root|' \ |
al@20946 | 20 DEFAULTS/Defaults.linux |
al@20946 | 21 # install rscsi to /usr/bin instead of /usr/sbin |
al@20946 | 22 sed -i 's|INSDIR=.*|INSDIR=bin|' rscsi/Makefile |
al@20946 | 23 |
al@20946 | 24 export GMAKE_NOWARN=true INS_BASE=/usr INS_RBASE=/ |
al@20946 | 25 cp cdda2wav/lconfig.h.in cdda2wav/lconfig.h |
al@20946 | 26 |
Hans-G?nter@21225 | 27 make -j1 && |
Hans-G?nter@21225 | 28 make -j1 install || return 1 |
al@20946 | 29 |
al@20946 | 30 # cdrkit compatibility |
al@20946 | 31 ln -s cdrecord $install/usr/bin/wodim |
al@20946 | 32 ln -s readcd $install/usr/bin/readom |
al@20946 | 33 ln -s mkisofs $install/usr/bin/genisoimage |
al@20946 | 34 ln -s cdda2wav $install/usr/bin/icedax |
pascal@11218 | 35 } |
pascal@11218 | 36 |
Hans-G?nter@21225 | 37 genpkg_rules() |
Hans-G?nter@21225 | 38 { |
al@20946 | 39 case $PACKAGE in |
al@20946 | 40 cdrtools) |
al@20946 | 41 copy @std |
al@20946 | 42 DEPENDS="acl libcap" |
al@20946 | 43 CONFIG_FILES="/etc/default/cdrecord /etc/default/rscsi" |
al@20946 | 44 ;; |
al@20946 | 45 *-dev) |
al@20946 | 46 copy @dev |
al@20946 | 47 ;; |
al@20946 | 48 esac |
pascal@11218 | 49 } |