wok-current annotate libbcm2835/receipt @ rev 25381

updated unifont (13.0.01 -> 14.0.04)
author Hans-G?nter Theisgen
date Sat Jul 30 16:49:06 2022 +0100 (2022-07-30)
parents ede1d184d5c5
children
rev   line source
pankso@16467 1 # SliTaz package receipt.
pankso@16467 2
pankso@16467 3 PACKAGE="libbcm2835"
pankso@16467 4 VERSION="1.36"
pankso@16467 5 CATEGORY="system-tools"
pankso@16467 6 SHORT_DESC="C library for Broadcom BCM 2835 as used in Raspberry Pi."
pankso@16467 7 MAINTAINER="pankso@slitaz.org"
pascal@24728 8 LICENSE="GPL3"
pankso@16467 9 SOURCE="bcm2835"
pankso@16467 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pankso@16467 11 WEB_SITE="http://www.airspayce.com/mikem/bcm2835/index.html"
pankso@16467 12 WGET_URL="http://www.airspayce.com/mikem/bcm2835/$TARBALL"
pankso@16467 13 HOST_ARCH="arm"
pankso@16467 14
pascal@24447 15 # What is the latest version available today?
pascal@24447 16 current_version()
pascal@24447 17 {
pascal@24447 18 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24447 19 sed '/bcm2835-[0-9]/!d;/tar/!d;s|.*bcm2835-||;s|.tar.*||;q'
pascal@24447 20 }
pascal@24447 21
pankso@16467 22 # Rules to configure and make the package.
pankso@16467 23 compile_rules()
pankso@16467 24 {
pankso@16467 25 ./configure $CONFIGURE_ARGS &&
pankso@16467 26 make && make install
pankso@16467 27 }
pankso@16467 28
pankso@16467 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16467 30 genpkg_rules()
pankso@16467 31 {
pankso@16467 32 mkdir -p $fs/usr/share/${PACKAGE}
pankso@16467 33 cp -a ${install}/usr/lib ${fs}/usr
pankso@16467 34 cp -a ${install}/usr/include ${fs}/usr
pankso@16467 35 cp -a ${src}/examples ${fs}/usr/share/${PACKAGE}
pankso@16467 36 }