# HG changeset patch # User Christophe Lincoln # Date 1398125228 -7200 # Node ID 3ab4ece3450e63e4e1f0f253524390e7fd3dacc0 # Parent 84d4534a5de3a06fd3131336997487c959906a31 R-Pi: add gst-omx, libbcm2835, picamera, rcswitch-pi diff -r 84d4534a5de3 -r 3ab4ece3450e gst-omx/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gst-omx/receipt Tue Apr 22 02:07:08 2014 +0200 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="gst-omx" +VERSION="1.0.0" +CATEGORY="system-tools" +SHORT_DESC="GSt OpenMAX IL plugin with hw-accelerated video decoding on the R-Pi." +MAINTAINER="pankso@slitaz.org" +LICENSE="GPL" +TARBALL="$PACKAGE-$VERSION.tar.xz" +WEB_SITE="http://gstreamer.freedesktop.org/releases/gst-omx/1.0.0.html" +WGET_URL="http://gstreamer.freedesktop.org/src/gst-omx/gst-omx-1.0.0.tar.xz" +HOST_ARCH="arm" + +DEPENDS="gstreamer-1.0 gst-plugins-base-1.0" +BUILD_DEPENDS="gstreamer-1.0-dev gst-plugins-base-1.0-dev" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure $CONFIGURE_ARGS && + make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a ${install}/usr/lib ${fs}/usr + rm ${fs}/usr/lib/*/*.la +} diff -r 84d4534a5de3 -r 3ab4ece3450e libbcm2835/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libbcm2835/receipt Tue Apr 22 02:07:08 2014 +0200 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="libbcm2835" +VERSION="1.36" +CATEGORY="system-tools" +SHORT_DESC="C library for Broadcom BCM 2835 as used in Raspberry Pi." +MAINTAINER="pankso@slitaz.org" +LICENSE="GPL" +SOURCE="bcm2835" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://www.airspayce.com/mikem/bcm2835/index.html" +WGET_URL="http://www.airspayce.com/mikem/bcm2835/$TARBALL" +HOST_ARCH="arm" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure $CONFIGURE_ARGS && + make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/${PACKAGE} + cp -a ${install}/usr/lib ${fs}/usr + cp -a ${install}/usr/include ${fs}/usr + cp -a ${src}/examples ${fs}/usr/share/${PACKAGE} +} diff -r 84d4534a5de3 -r 3ab4ece3450e picamera/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/picamera/receipt Tue Apr 22 02:07:08 2014 +0200 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="picamera" +VERSION="1.3" +CATEGORY="multimedia" +SHORT_DESC="A pure Python interface for the Raspberry Pi camera module." +MAINTAINER="pankso@slitaz.org" +LICENSE="BSD" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="https://pypi.python.org/pypi/picamera/" +WGET_URL="https://pypi.python.org/packages/source/p/$PACKAGE/$TARBALL" +HOST_ARCH="arm" + +DEPENDS="python" +BUILD_DEPENDS="python wget" + +# Rules to configure and make the package. +compile_rules() +{ + python setup.py install --root=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/usr $fs +} + diff -r 84d4534a5de3 -r 3ab4ece3450e rcswitch-pi/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rcswitch-pi/receipt Tue Apr 22 02:07:08 2014 +0200 @@ -0,0 +1,35 @@ +# SliTaz package receipt. + +PACKAGE="rcswitch-pi" +GITHASH="2c9c027217ae0b4fe132e0725db166ac29f93974" +VERSION="${GITHASH:0:7}" +CATEGORY="system-tools" +SHORT_DESC="Control remote power sockets using the Raspberry Pi." +MAINTAINER="pankso@slitaz.org" +LICENSE="GPL" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="https://github.com/r10r/rcswitch-pi" +WGET_URL="git|git://github.com/r10r/rcswitch-pi.git" +HOST_ARCH="arm" + +DEPENDS="wiringpi" +BUILD_DEPENDS="wiringpi-dev" + +# Rules to configure and make the package. +compile_rules() +{ + git checkout ${GITHASH} && + make +} + +# SliTaz package testsuite +testsuite() { + readelf -h ${src}/send || return 1 +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin + install -m 0755 ${src}/send ${fs}/usr/bin/${PACKAGE} +}