mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
community/motion to 4.0.1-1.2
This commit is contained in:
parent
49c75548bc
commit
5b5e37ae31
1 changed files with 4 additions and 7 deletions
|
@ -2,11 +2,11 @@
|
|||
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - remove bad CFLAGS addition
|
||||
# - configure with --without-optimizecpu to avoid overrides to our CFLAGS
|
||||
|
||||
pkgname=motion
|
||||
pkgver=4.0.1
|
||||
pkgrel=1.1
|
||||
pkgrel=1.2
|
||||
pkgdesc="A software motion detector which grabs images from video4linux devices and/or from webcams"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('GPL')
|
||||
|
@ -23,16 +23,13 @@ md5sums=('5c87f90c4118d8cf0fb14700db69118f'
|
|||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-release-${pkgver}"
|
||||
|
||||
# remove bad CFLAGS addition
|
||||
sed -i 's/-march=native -mtune=native//' configure.ac
|
||||
|
||||
autoreconf
|
||||
./configure --prefix=/usr \
|
||||
--without-pgsql \
|
||||
--without-mysql \
|
||||
--sysconfdir=/etc \
|
||||
--with-ffmpeg
|
||||
--with-ffmpeg \
|
||||
--without-optimizecpu
|
||||
make
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue