wok-next annotate dvd+rw-tools/receipt @ rev 20775
quodlibet: remove non-existent package from bdeps
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 20:44:57 2018 +0300 (2018-06-06) |
parents | 4396aed7eb01 |
children | d5aab818505e |
rev | line source |
---|---|
al@20464 | 1 # SliTaz package receipt v2. |
jozee@2724 | 2 |
jozee@2724 | 3 PACKAGE="dvd+rw-tools" |
jozee@2724 | 4 VERSION="7.1" |
jozee@2724 | 5 CATEGORY="multimedia" |
jozee@2724 | 6 SHORT_DESC="DVD RW tools" |
jozee@2724 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@15579 | 8 LICENSE="GPL2" |
al@20464 | 9 WEB_SITE="http://fy.chalmers.se/~appro/linux/DVD+RW" |
al@20464 | 10 |
jozee@2724 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@2724 | 12 WGET_URL="$WEB_SITE/tools/$TARBALL" |
jozee@2724 | 13 |
al@20464 | 14 BUILD_DEPENDS="cdrkit m4" |
al@20464 | 15 SPLIT="dvd+rw-media-tools" |
pascal@15579 | 16 |
al@20464 | 17 compile_rules() { |
pascal@5908 | 18 grep -qs 'define u8' growisofs.c || |
pascal@5908 | 19 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' growisofs.c |
jozee@2724 | 20 make |
pascal@15579 | 21 mkdir -p $DESTDIR/usr/bin/ |
jozee@2724 | 22 for bin in growisofs dvd+rw-booktype dvd+rw-format dvd+rw-mediainfo dvd-ram-control; do |
pascal@15579 | 23 install -m755 $bin $DESTDIR/usr/bin/ |
jozee@2724 | 24 done |
jozee@2724 | 25 } |
jozee@2724 | 26 |
al@20464 | 27 genpkg_rules() { |
al@20464 | 28 case $PACKAGE in |
al@20464 | 29 dvd+rw-tools) |
al@20464 | 30 copy growisofs |
al@20464 | 31 DEPENDS="cdrkit" |
al@20464 | 32 ;; |
al@20464 | 33 dvd+rw-media-tools) |
al@20464 | 34 copy @std @rm |
al@20464 | 35 CAT="multimedia|media tools" |
al@20464 | 36 ;; |
al@20464 | 37 esac |
jozee@2724 | 38 } |