wok-next annotate cdrtools/receipt @ rev 19315
Check manpages... to ddd.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jul 12 15:00:21 2016 +0300 (2016-07-12) |
parents | bef53513f3c4 |
children | 6befec62b46c |
rev | line source |
---|---|
pascal@11218 | 1 # SliTaz package receipt. |
pascal@11218 | 2 |
pascal@11218 | 3 PACKAGE="cdrtools" |
pascal@11218 | 4 VERSION="3.00" |
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" |
al@19288 | 9 WEB_SITE="http://cdrecord.berlios.de/private/cdrecord.html" |
pascal@11218 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11218 | 11 WGET_URL="ftp://ftp.berlios.de/pub/cdrecord/$TARBALL" |
pascal@11218 | 12 |
pascal@15295 | 13 DEPENDS="" |
pascal@15295 | 14 |
pascal@11218 | 15 # Rules to configure and make the package. |
pascal@11218 | 16 compile_rules() |
pascal@11218 | 17 { |
pascal@11218 | 18 # hack makefile |
pascal@11218 | 19 cd $src/DEFAULTS |
pascal@11218 | 20 sed -i 's/DEFINSGRP= bin/DEFINSGRP= root/' Defaults.linux |
pascal@11218 | 21 cd .. |
pascal@15295 | 22 { |
pascal@15295 | 23 ./configure |
pascal@15295 | 24 make && make DESTDIR=$DESTDIR install |
pascal@15298 | 25 } 2>&1 | sed 's/: No such/: no such/' |
al@19288 | 26 |
al@19288 | 27 mkdir -p $install/usr |
al@19288 | 28 mv $install/opt/schily/* $install/usr |
pascal@11218 | 29 } |
pascal@11218 | 30 |
pascal@11218 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11218 | 32 genpkg_rules() |
pascal@11218 | 33 { |
pascal@11218 | 34 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@15295 | 35 cp -a $install/etc $fs |
al@19288 | 36 cp -a $install/usr/bin $fs/usr |
al@19288 | 37 cp -a $install/usr/sbin $fs/usr |
al@19288 | 38 cp -a $install/usr/lib/siconv $fs/usr/lib |
al@19288 | 39 cp -a $install/usr/share/doc $fs/usr/share |
pascal@11218 | 40 } |