core/mjpegtools/PKGBUILD

36 lines
928 B
Bash
Raw Normal View History

#
2015-01-09 07:46:55 +08:00
# Chakra Packages for Chakra, part of chakraos.org
#
2015-01-09 07:46:55 +08:00
# maintainer almack
2010-03-14 23:48:48 +08:00
pkgname=mjpegtools
2015-01-09 07:46:55 +08:00
pkgver=2.1.0
pkgrel=1
2010-03-14 23:48:48 +08:00
pkgdesc="Set of tools that can do recording of videos and playback, simple cut-and-paste editing and the MPEG compression of audio and video"
arch=('x86_64')
2010-03-14 23:48:48 +08:00
license=('GPL')
url="http://mjpeg.sourceforge.net/"
2015-01-09 07:46:55 +08:00
depends=('libjpeg-turbo' 'libpng' 'sdl' 'gcc-libs' 'libdv')
2012-08-12 07:49:54 +08:00
makedeends=('v4l-utils')
2015-01-09 07:46:55 +08:00
options=('!makeflags')
source=("http://downloads.sourceforge.net/sourceforge/mjpeg/${pkgname}-${pkgver}.tar.gz")
md5sums=('57bf5dd78976ca9bac972a6511b236f3')
2010-03-14 23:48:48 +08:00
2015-01-09 07:46:55 +08:00
prepare() {
cd ${pkgname}-${pkgver}
sed -i -e '/ARCHFLAGS=/s:=.*:=:' configure
2015-01-09 07:46:55 +08:00
}
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr --enable-largefile
make
}
2010-03-14 23:48:48 +08:00
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
2012-09-29 04:19:44 +08:00
make DESTDIR="${pkgdir}" install
2012-09-29 04:19:44 +08:00
install -m0644 mpeg2enc/mpeg2syntaxcodes.h "${pkgdir}/usr/include/mjpegtools/mpeg2enc/"
2010-03-14 23:48:48 +08:00
}