wok view libbcm2835/receipt @ rev 21084
updated john (1.7.8 -> 1.8.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 15 14:28:58 2019 +0100 (2019-03-15) |
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 }