updated libcec-git PKGBUILD with fPIC correction

This commit is contained in:
Cedric Girard 2013-01-04 11:20:05 +01:00
parent 64d455d053
commit f9b8f4ddf2

View file

@ -1,14 +1,14 @@
# Maintainer: Cedric Girard <girard.cedric@gmail.com> # Maintainer: Cedric Girard <girard.cedric@gmail.com>
pkgname=libcec-git pkgname=libcec-git
pkgver=20120515 pkgver=20130104
pkgrel=1 pkgrel=1
pkgdesc="Pulse-Eight's libcec for the Pulse-Eight USB-CEC adapter" pkgdesc="Pulse-Eight's libcec for the Pulse-Eight USB-CEC adapter"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="https://github.com/Pulse-Eight/libcec" url="https://github.com/Pulse-Eight/libcec"
license=('GPL') license=('GPL')
makedepends=('git') makedepends=('git')
depends=('udev>=151' 'lockdev') depends=('udev>=151' 'lockdev-fpic')
provides=('libcec') provides=('libcec')
conflicts=('libcec') conflicts=('libcec')
options=('!libtool') options=('!libtool')
@ -34,6 +34,7 @@ build() {
git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build" git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
cd "$srcdir/$_gitname-build" cd "$srcdir/$_gitname-build"
sed 's/^LIBS_LIBCEC="$LIBS".*/LIBS_LIBCEC="$LIBS -fPIC"/' -i configure.ac
autoreconf -vif autoreconf -vif
./configure --prefix=/usr ./configure --prefix=/usr
make make