wok-next annotate libbcm2835/receipt @ rev 20889
Check Repology info from y* to z* packages: complete
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jul 15 10:27:39 2018 +0300 (2018-07-15) |
parents | 3ab4ece3450e |
children |
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" |
al@20883 | 9 WEB_SITE="http://www.airspayce.com/mikem/bcm2835/index.html" |
al@20883 | 10 REPOLOGY="bcm2835" |
al@20883 | 11 |
pankso@16467 | 12 SOURCE="bcm2835" |
pankso@16467 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@16467 | 14 WGET_URL="http://www.airspayce.com/mikem/bcm2835/$TARBALL" |
pankso@16467 | 15 HOST_ARCH="arm" |
pankso@16467 | 16 |
pankso@16467 | 17 # Rules to configure and make the package. |
pankso@16467 | 18 compile_rules() |
pankso@16467 | 19 { |
pankso@16467 | 20 ./configure $CONFIGURE_ARGS && |
pankso@16467 | 21 make && make install |
pankso@16467 | 22 } |
pankso@16467 | 23 |
pankso@16467 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16467 | 25 genpkg_rules() |
pankso@16467 | 26 { |
pankso@16467 | 27 mkdir -p $fs/usr/share/${PACKAGE} |
pankso@16467 | 28 cp -a ${install}/usr/lib ${fs}/usr |
pankso@16467 | 29 cp -a ${install}/usr/include ${fs}/usr |
pankso@16467 | 30 cp -a ${src}/examples ${fs}/usr/share/${PACKAGE} |
pankso@16467 | 31 } |