wok-6.x view libbcm2835/receipt @ rev 16816

Up glib glib-dev (2.41.1)
author Yuri Pourre <yuripourre@gmail.com>
date Thu Jul 10 23:16:02 2014 -0300 (2014-07-10)
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 }