wok-6.x view tazpkg/receipt @ rev 8152

Up: tazchroot 0.0.3, libtaz 0.0.2, tazwok-experimental 0.0.3, tazpkg 4.2
author Antoine Bodin <gokhlayeh@slitaz.org>
date Wed Jan 26 01:53:48 2011 +0100 (2011-01-26)
parents d0c6a2d1c542
children 03ce89cf27d3
line source
1 # SliTaz package receipt.
3 PACKAGE="tazpkg"
4 VERSION="4.2"
5 CATEGORY="base-system"
6 SHORT_DESC="SliTaz packages manager."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="busybox gettext-base"
9 BUILD_DEPENDS="gettext"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.slitaz.org/"
12 WGET_URL="http://mirror.slitaz.org/sources/tazpkg/$TARBALL"
13 TAGS="slitaz package-manager"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 #
17 # Tazpkg is SliTaz packages manager. On an other GNU/Linux install
18 # can be do with : make install from the sources directory.
19 #
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
25 make DESTDIR=$PWD/_pkg install
26 }
28 genpkg_rules()
29 {
30 cp -a $_pkg/usr $fs
31 cp -a $_pkg/etc $fs
32 chown -R root.root $fs
33 # Default icon for mimetype (freedesktop standard compliant file
34 # manager will diplay a tazpkg icon for SliTaz packages).
35 mkdir -p $fs/usr/share/icons/hicolor/32x32/mimetypes
36 cd $fs/usr/share/icons/hicolor/32x32/mimetypes
37 ln -s /usr/share/pixmaps/tazpkg.png package-x-tazpkg.png
38 ln -s /usr/share/pixmaps/tazpkg.png gnome-mime-application-x-tazpkg.png
39 }