wok-next annotate dvd+rw-tools/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | eb8067417980 |
children | d6378d455338 |
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() { |
slaxemulator@9700 | 18 patch -p1 -i $stuff/build-7.1.patch |
pascal@5908 | 19 grep -qs 'define u8' growisofs.c || |
pascal@5908 | 20 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' growisofs.c |
jozee@2724 | 21 make |
pascal@15579 | 22 mkdir -p $DESTDIR/usr/bin/ |
jozee@2724 | 23 for bin in growisofs dvd+rw-booktype dvd+rw-format dvd+rw-mediainfo dvd-ram-control; do |
pascal@15579 | 24 install -m755 $bin $DESTDIR/usr/bin/ |
jozee@2724 | 25 done |
jozee@2724 | 26 } |
jozee@2724 | 27 |
al@20464 | 28 genpkg_rules() { |
al@20464 | 29 case $PACKAGE in |
al@20464 | 30 dvd+rw-tools) |
al@20464 | 31 copy growisofs |
al@20464 | 32 DEPENDS="cdrkit" |
al@20464 | 33 ;; |
al@20464 | 34 dvd+rw-media-tools) |
al@20464 | 35 copy @std @rm |
al@20464 | 36 CAT="multimedia|media tools" |
al@20464 | 37 ;; |
al@20464 | 38 esac |
jozee@2724 | 39 } |