wok-6.x annotate slitaz-arm-rpi/receipt @ rev 16341

Add slitaz-arm-rpi (only for ARM arch, hope i486 cooker will handle it)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Apr 12 14:59:28 2014 +0200 (2014-04-12)
parents
children 82b8421492de
rev   line source
pankso@16341 1 # SliTaz package receipt.
pankso@16341 2
pankso@16341 3 PACKAGE="slitaz-arm-rpi"
pankso@16341 4 VERSION="0.1"
pankso@16341 5 CATEGORY="base-system"
pankso@16341 6 SHORT_DESC="SliTaz Raspberry Pi: tools, CGI adm, configs and artwork."
pankso@16341 7 MAINTAINER="pankso@slitaz.org"
pankso@16341 8 LICENSE="BSD"
pankso@16341 9 WEB_SITE="http://arm.slitaz.org/rpi/"
pankso@16341 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@16341 11 WGET_URL="http://hg.slitaz.org/slitaz-arm/archive/tip.tar.bz2"
pankso@16341 12 HOST_ARCH="arm"
pankso@16341 13
pankso@16341 14 DEPENDS="slitaz-configs dialog"
pankso@16341 15
pankso@16341 16 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16341 17 genpkg_rules()
pankso@16341 18 {
pankso@16341 19 mkdir -p ${fs}/usr/bin ${fs}/var/www/adm
pankso@16341 20 cp -a ${src}/rpi/rootfs/* ${fs}
pankso@16341 21 cp -a ${src}/rpi/tazberry ${fs}/usr/bin
pankso@16341 22 cp -a ${src}/rpi/cgi-adm/* ${fs}/var/www/adm
pankso@16341 23 chown -R root.root ${fs}
pankso@16341 24 }