aboutsummaryrefslogtreecommitdiffstats
path: root/testing/dvd+rw-tools/APKBUILD
blob: dcb7baaed2a48831860fef2c763b7a7678f3d947 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Contributor: ScrumpyJack <scrumpyjack@me.com>
# Maintainer:
pkgname=dvd+rw-tools
pkgver=7.1
pkgrel=0
pkgdesc="DVD and Blu-ray burning tools"
url="http://fy.chalmers.se/~appro/linux/DVD+RW/"
arch="all"
license="GPL"
depends="cdrkit"
depends_dev=""
makedepends="$depends_dev m4"
install=""
subpackages="$pkgname-doc"
source="http://fy.chalmers.se/~appro/linux/DVD+RW/tools/${pkgname}-${pkgver}.tar.gz
	transport.hxx.patch"
_builddir=$srcdir/${pkgname}-${pkgver}
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	make
}

package() {
	cd "$_builddir"
  	install -m755 -d "${pkgdir}/usr/bin"
  	install -m755 -d "${pkgdir}/usr/share/man/man1"
  	install -m755 growisofs dvd+rw-booktype dvd+rw-format \
		dvd+rw-mediainfo dvd-ram-control "${pkgdir}/usr/bin/"
  	install -m644 growisofs.1 ${pkgdir}/usr/share/man/man1/growisofs.1
}

md5sums="8acb3c885c87f6838704a0025e435871  dvd+rw-tools-7.1.tar.gz
fee956907bf81623a8445f1c58e633e4  transport.hxx.patch"
sha256sums="f8d60f822e914128bcbc5f64fbe3ed131cbff9045dca7e12c5b77b26edde72ca  dvd+rw-tools-7.1.tar.gz
e6b510fe2afe56a10be58c85d23b4d7e65989a3a6ac13be49867383c985b1772  transport.hxx.patch"
sha512sums="938f9ec5597158af275c7bf63002696ba362f6f22a219108c6a1df28792f0485046a7af5ce57e41695aaaa0d69543bd66cbbeb4415df5c0e0a902a3f1d278a31  dvd+rw-tools-7.1.tar.gz
9929fa03fd8a6c9b9ad724d1d0de77a602558bb75691148c7a9562f95b5379149fc39ab66a151c10fbe15e18c75b0ecd2d51f7c0499ced3c2e88a54330c44067  transport.hxx.patch"