wok-6.x annotate libbcm2835/receipt @ rev 19488

Update SliTaz projects: slitaz-base-files (312), slitaz-configs (295), slitaz-doc (158), slitaz-tools (1004), tazinst (83), tazlito (439), tazpanel (606), tazpkg (927), tazusb (192), tazweb (172).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Nov 12 13:09:26 2016 +0200 (2016-11-12)
parents
children ede1d184d5c5
rev   line source
pankso@16467 1 # SliTaz package receipt.
pankso@16467 2
pankso@16467 3 PACKAGE="libbcm2835"
pankso@16467 4 VERSION="1.36"
pankso@16467 5 CATEGORY="system-tools"
pankso@16467 6 SHORT_DESC="C library for Broadcom BCM 2835 as used in Raspberry Pi."
pankso@16467 7 MAINTAINER="pankso@slitaz.org"
pankso@16467 8 LICENSE="GPL"
pankso@16467 9 SOURCE="bcm2835"
pankso@16467 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pankso@16467 11 WEB_SITE="http://www.airspayce.com/mikem/bcm2835/index.html"
pankso@16467 12 WGET_URL="http://www.airspayce.com/mikem/bcm2835/$TARBALL"
pankso@16467 13 HOST_ARCH="arm"
pankso@16467 14
pankso@16467 15 # Rules to configure and make the package.
pankso@16467 16 compile_rules()
pankso@16467 17 {
pankso@16467 18 ./configure $CONFIGURE_ARGS &&
pankso@16467 19 make && make install
pankso@16467 20 }
pankso@16467 21
pankso@16467 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16467 23 genpkg_rules()
pankso@16467 24 {
pankso@16467 25 mkdir -p $fs/usr/share/${PACKAGE}
pankso@16467 26 cp -a ${install}/usr/lib ${fs}/usr
pankso@16467 27 cp -a ${install}/usr/include ${fs}/usr
pankso@16467 28 cp -a ${src}/examples ${fs}/usr/share/${PACKAGE}
pankso@16467 29 }