wok view libbcm2835/receipt @ rev 25134
updated phpeasyvcs (1.0 -> 2.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 10:51:43 2022 +0100 (2022-06-29) |
parents | ede1d184d5c5 |
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="GPL3"
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 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - $WEB_SITE 2>/dev/null | \
19 sed '/bcm2835-[0-9]/!d;/tar/!d;s|.*bcm2835-||;s|.tar.*||;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure $CONFIGURE_ARGS &&
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share/${PACKAGE}
33 cp -a ${install}/usr/lib ${fs}/usr
34 cp -a ${install}/usr/include ${fs}/usr
35 cp -a ${src}/examples ${fs}/usr/share/${PACKAGE}
36 }