wok-current view libbcm2835/receipt @ rev 18077

Rebuild Python packages to remove "*.pyc" files from package.lists (part 1).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 22 17:34:18 2015 +0300 (2015-05-22)
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 }