2012-09-29 19:22:50 +00:00
|
|
|
# Contributor: tomasgroth at yahoo.dk
|
|
|
|
|
2012-09-29 18:31:38 +00:00
|
|
|
buildarch=16
|
|
|
|
|
2012-09-29 19:22:50 +00:00
|
|
|
pkgname=libcec-rpi
|
2012-10-11 21:51:42 +00:00
|
|
|
pkgver=2.0.1
|
2012-09-29 19:22:50 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Pulse-Eight's libcec for the Pulse-Eight USB-CEC adapter with support for raspberry pi"
|
|
|
|
arch=('armv6h')
|
|
|
|
url="https://github.com/Pulse-Eight/libcec"
|
|
|
|
license=('GPL')
|
|
|
|
depends=('udev' 'lockdev' 'raspberrypi-firmware')
|
|
|
|
conflicts=('libcec')
|
|
|
|
provides=('libcec')
|
2012-10-11 21:51:42 +00:00
|
|
|
source=("libcec-$pkgver.zip::https://github.com/Pulse-Eight/libcec/zipball/release")
|
|
|
|
_srcfolder=Pulse-Eight-libcec-39334ff
|
|
|
|
sha256sums=('61a405241164a216b0d20731d827163f5199ff46d786f7036347416c5b199398')
|
2012-09-29 19:22:50 +00:00
|
|
|
options=(!libtool)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
mv "$_srcfolder" "$pkgname-$pkgver"
|
|
|
|
|
|
|
|
cd "$pkgname-$pkgver"
|
|
|
|
autoreconf -vif
|
|
|
|
./configure --prefix=/usr --enable-rpi \
|
|
|
|
--with-rpi-include-path="/opt/vc/include" \
|
|
|
|
--with-rpi-lib-path="/opt/vc/lib"
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$pkgname-$pkgver"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|
|
|
|
|