wok-6.x annotate cdrtools/receipt @ rev 18675
syslinux/taziso: get custom config
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 06 10:57:10 2015 +0100 (2015-12-06) |
parents | 21df5a71ed8f |
children | a511baf85854 |
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" |
pascal@11218 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11218 | 10 WEB_SITE="http://cdrecord.berlios.de/private/cdrecord.html" |
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/' |
pascal@11218 | 26 } |
pascal@11218 | 27 |
pascal@11218 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11218 | 29 genpkg_rules() |
pascal@11218 | 30 { |
pascal@11218 | 31 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@15295 | 32 cp -a $install/etc $fs |
pascal@15295 | 33 cp -a $install/opt/schily/bin $fs/usr |
pascal@15295 | 34 cp -a $install/opt/schily/sbin $fs/usr |
pascal@15295 | 35 cp -a $install/opt/schily/lib/siconv $fs/usr/lib |
pascal@15295 | 36 cp -a $install/opt/schily/share/doc $fs/usr/share |
pascal@11218 | 37 } |
pascal@11218 | 38 |