Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: dfe7234ade
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (29 sloc) 0.894 kb
# Contributor: tomasgroth at yahoo.dk
buildarch=16
pkgname=libcec-rpi
pkgver=1.9.0
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')
source=("$pkgname-$pkgver.tar.gz::https://github.com/Pulse-Eight/libcec/tarball/libcec-$pkgver")
_srcfolder=Pulse-Eight-libcec-217b236
sha256sums=('93c0c56b446f82ef71499fd88186c7212a92b037cb8a19516140216cc0aae68f')
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
}
Jump to Line
Something went wrong with that request. Please try again.