wok annotate slitaz-doc/receipt @ rev 2990
Up linux (2.6.29.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 11 19:08:50 2009 +0200 (2009-05-11) |
parents | cf71613b81e7 |
children | d82352c1c938 |
rev | line source |
---|---|
pankso@421 | 1 # SliTaz package receipt. |
pankso@421 | 2 |
pankso@421 | 3 PACKAGE="slitaz-doc" |
pankso@2638 | 4 VERSION="2.1" |
pankso@421 | 5 CATEGORY="base-system" |
pankso@421 | 6 SHORT_DESC="SliTaz system documentation." |
pankso@421 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@421 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@421 | 9 WEB_SITE="http://www.slitaz.org/" |
pankso@2636 | 10 WGET_URL="http://mirror.slitaz.org/sources/doc/$TARBALL" |
pankso@421 | 11 |
pankso@421 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@421 | 13 genpkg_rules() |
pankso@421 | 14 { |
pankso@2636 | 15 mkdir -p $fs/usr/share/doc \ |
pankso@2636 | 16 $fs/usr/share/pixmaps \ |
pankso@2636 | 17 $fs/etc/skel/Desktop \ |
pankso@421 | 18 # Copy all rootfs from slitaz/ and set permissions. |
pankso@2636 | 19 cp -a $src/slitaz $fs/usr/share/doc |
pankso@2636 | 20 cp $src/applications/slitaz-doc.desktop $fs/etc/skel/Desktop |
pankso@2636 | 21 cp -a $src/pixmaps $fs/usr/share |
pankso@421 | 22 chown -R root.root $fs/* |
pankso@2636 | 23 chmod -x $fs/usr/share/doc/slitaz/*.html |
pankso@421 | 24 } |