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