wok-6.x annotate cdrtools/receipt @ rev 14623
merge
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Jun 01 10:16:08 2013 +0000 (2013-06-01) |
parents | |
children | 21df5a71ed8f |
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@11218 | 8 DEPENDS="" |
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@11218 | 13 # Rules to configure and make the package. |
pascal@11218 | 14 compile_rules() |
pascal@11218 | 15 { |
pascal@11218 | 16 # hack makefile |
pascal@11218 | 17 cd $src/DEFAULTS |
pascal@11218 | 18 sed -i 's/DEFINSGRP= bin/DEFINSGRP= root/' Defaults.linux |
pascal@11218 | 19 cd .. |
pascal@11218 | 20 ./configure |
pascal@11218 | 21 make && make DESTDIR=$PWD/_pkg install |
pascal@11218 | 22 } |
pascal@11218 | 23 |
pascal@11218 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11218 | 25 genpkg_rules() |
pascal@11218 | 26 { |
pascal@11218 | 27 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@11218 | 28 cp -a $_pkg/etc $fs |
pascal@11218 | 29 cp -a $_pkg/opt/schily/bin $fs/usr |
pascal@11218 | 30 cp -a $_pkg/opt/schily/sbin $fs/usr |
pascal@11218 | 31 cp -a $_pkg/opt/schily/lib/siconv $fs/usr/lib |
pascal@11218 | 32 cp -a $_pkg/opt/schily/share/doc $fs/usr/share |
pascal@11218 | 33 } |
pascal@11218 | 34 |