wok-current view libbcm2835/receipt @ rev 25619
Use default gcc 6.3 for cifs-utils
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Sep 03 20:04:11 2023 +0000 (14 months ago) |
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 }