1 # Contributer: Franz Burgmann <f dot burgmann at gmail dot com>
2 # Contributer: Sebastian Sareyko <public@nooms.de>
3 # Contributer: Ermanno <erm67@yahoo.it>
8 pkgdesc="Remultiplex an MPEG2 TS into a PS for DVD, includes yacoto patch"
9 url="http://www.metzlerbros.org/dvb/index.html"
13 arch=('i686' 'x86_64')
15 source=(http://www.metzlerbros.org/dvb/replex-$pkgver.tar.gz)
16 md5sums=('de02c1b55bc7863f811adffe611f1c71')
19 mkdir -p $startdir/pkg/{bin,lib}
21 if [ "$CARCH" = "x86_64" ]; then
22 cp -r $startdir/replex $startdir/pkg/bin || return 1
23 cp -r $startdir/libreplex.a $startdir/pkg/lib || return 1
25 if [ "$CARCH" = "i686" ]; then
26 cd $startdir/src/replex-$pkgver
27 cat $startdir/replex-0.1.6.8-yacoto.diff |patch -p1
28 /usr/bin/make || return 1
29 /usr/bin/make DESTDIR=$startdir/pkg install
32 cd $startdir/src/replex-$pkgver
33 mkdir -p $pkgdir/usr/share/doc/$pkgname || return 1
34 cp COPYING $pkgdir/usr/share/doc/$pkgname || return 1
35 cp CHANGES $pkgdir/usr/share/doc/$pkgname || return 1
36 cp README $pkgdir/usr/share/doc/$pkgname || return 1