1 # Contributor: Tom K <tomk@runbox.com>
5 pkgdesc="y4mscaler is a video scaler which operates on YUV4MPEG2 streams"
7 source=(http://www.mir.com/DMG/Software/$pkgname-$pkgver-src.tgz)
8 md5sums=('6b5d110aeacb22b865591e6203666195')
9 url="http://www.mir.com/DMG/Software/"
13 mkdir -p $startdir/pkg/usr/{bin,man/man1}
15 cd $startdir/src/$pkgname-$pkgver
17 sed -i -e "s:-mcpu=$CARCH:-O2 -pipe:g" Makefile
18 sed -i -e 's:MJPEG_PREFIX = /usr/local:MJPEG_PREFIX = /usr:g' Makefile
22 cp y4mscaler $startdir/pkg/usr/bin
23 cp y4mscaler.1 $startdir/pkg/usr/man/man1
25 chmod 755 $startdir/pkg/usr/man/man1/y4mscaler.1