wok diff libbcm2835/receipt @ rev 18431
open-vm-tools: add dnet dep
author | Nathan Neulinger <nneul@neulinger.org> |
---|---|
date | Mon Sep 21 22:09:23 2015 +0000 (2015-09-21) |
parents | |
children | ede1d184d5c5 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libbcm2835/receipt Mon Sep 21 22:09:23 2015 +0000 1.3 @@ -0,0 +1,29 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libbcm2835" 1.7 +VERSION="1.36" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="C library for Broadcom BCM 2835 as used in Raspberry Pi." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +LICENSE="GPL" 1.12 +SOURCE="bcm2835" 1.13 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.14 +WEB_SITE="http://www.airspayce.com/mikem/bcm2835/index.html" 1.15 +WGET_URL="http://www.airspayce.com/mikem/bcm2835/$TARBALL" 1.16 +HOST_ARCH="arm" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + ./configure $CONFIGURE_ARGS && 1.22 + make && make install 1.23 +} 1.24 + 1.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.26 +genpkg_rules() 1.27 +{ 1.28 + mkdir -p $fs/usr/share/${PACKAGE} 1.29 + cp -a ${install}/usr/lib ${fs}/usr 1.30 + cp -a ${install}/usr/include ${fs}/usr 1.31 + cp -a ${src}/examples ${fs}/usr/share/${PACKAGE} 1.32 +}