summaryrefslogtreecommitdiffstats
path: root/extra/cdrkit/Pkgfile
blob: 982b7013c150fb4d4ce1a49ae5cd9d60b3eeaea3 (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
# Description: Jeu de commande en ligne pour la manipulation des disques CD/DVD/BlueRay
# URL: http://cdrkit.org/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: cmake, libcap
# Run on:

name=cdrkit
version=1.1.10
release=1
source=(ftp://ftp.debian.org/debian/pool/main/c/cdrkit/cdrkit_1.1.10.orig.tar.gz)

build() {
	cd $name-$version
	# ./configure --prefix=/usr
	make
	make PREFIX=$PKG/usr install
	cd $PKG/usr/bin
	mv wodim cdrecord
	ln -s cdrecord wodim
	mv genisoimage mkisofs
	ln -s mkisofs genisoimage
	ln -s readom readcd
	ln -s icedax cdda2wav
	ln -s mkisofs mkhybrid
	ln -s cdrecord dvdrecord
	cd ../sbin
	ln -s netscsid rscsi
	cd ../share/man/man1
	ln -s icedax.1 cdda2wav.1
	ln -s readom.1 readcd.1
	ln -s wodim.1 cdrecord.1
	ln -s genisoimage.1 mkisofs.1
	cd ../man5
	ln -s genisoimagerc.5 mkisofsrc.5
}