wok view tazpkg/receipt @ rev 1090

slim: chown all file to root
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jul 16 21:47:54 2008 +0200 (2008-07-16)
parents 56ac4dfd3086
children 8207932bc7fe
line source
1 # SliTaz package receipt.
3 PACKAGE="tazpkg"
4 VERSION="2.3"
5 CATEGORY="base-system"
6 SHORT_DESC="SliTaz packages manager."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="busybox"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.slitaz.org/"
11 WGET_URL="http://mirror.slitaz.org/sources/tazpkg/$TARBALL"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 #
15 # Tazpkg is SliTaz packages manager. On an other GNU/Linux install
16 # can be do with : make install from the sources directory.
17 #
18 genpkg_rules()
19 {
20 mkdir -p $fs/usr/bin $fs/usr/lib/slitaz $fs/usr/share/doc/$PACKAGE
21 cp -a $src/tazpkg $fs/usr/bin
22 cp -a $src/tazpkgbox $fs/usr/bin
23 cp -a $src/lib/* $fs/usr/lib/slitaz
24 cp -a $src/applications $fs/usr/share
25 cp -a $src/pixmaps $fs/usr/share
26 cp -a $src/doc/$PACKAGE.html $fs/usr/share/doc/$PACKAGE
27 chmod 755 $fs/usr/bin/$PACKAGE
28 chown -R root.root $fs
29 }