wok-current annotate libbcm2835/receipt @ rev 16703
Add: mplayer-opt: the same as mplayer but with enabled CPU optimizations (MMX, MMX2, SSE, SSE2 and friends).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed May 28 11:27:38 2014 +0300 (2014-05-28) |
parents | |
children | ede1d184d5c5 |
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" |
pankso@16467 | 8 LICENSE="GPL" |
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 |
pankso@16467 | 15 # Rules to configure and make the package. |
pankso@16467 | 16 compile_rules() |
pankso@16467 | 17 { |
pankso@16467 | 18 ./configure $CONFIGURE_ARGS && |
pankso@16467 | 19 make && make install |
pankso@16467 | 20 } |
pankso@16467 | 21 |
pankso@16467 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16467 | 23 genpkg_rules() |
pankso@16467 | 24 { |
pankso@16467 | 25 mkdir -p $fs/usr/share/${PACKAGE} |
pankso@16467 | 26 cp -a ${install}/usr/lib ${fs}/usr |
pankso@16467 | 27 cp -a ${install}/usr/include ${fs}/usr |
pankso@16467 | 28 cp -a ${src}/examples ${fs}/usr/share/${PACKAGE} |
pankso@16467 | 29 } |