wok view libbcm2835/receipt @ rev 18735

Up zerobin (6 feb 2014)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 21 16:28:32 2015 +0100 (2015-12-21)
parents
children ede1d184d5c5
line source
1 # SliTaz package receipt.
3 PACKAGE="libbcm2835"
4 VERSION="1.36"
5 CATEGORY="system-tools"
6 SHORT_DESC="C library for Broadcom BCM 2835 as used in Raspberry Pi."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL"
9 SOURCE="bcm2835"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.airspayce.com/mikem/bcm2835/index.html"
12 WGET_URL="http://www.airspayce.com/mikem/bcm2835/$TARBALL"
13 HOST_ARCH="arm"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 ./configure $CONFIGURE_ARGS &&
19 make && make install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/share/${PACKAGE}
26 cp -a ${install}/usr/lib ${fs}/usr
27 cp -a ${install}/usr/include ${fs}/usr
28 cp -a ${src}/examples ${fs}/usr/share/${PACKAGE}
29 }