wok-6.x view tazpkg/receipt @ rev 6999
Up: exiftool (8.36)
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Oct 31 14:56:48 2010 +0100 (2010-10-31) |
parents | a84418c0b3ff |
children | 70accaa0af7d |
line source
1 # SliTaz package receipt.
3 PACKAGE="tazpkg"
4 VERSION="4.1"
5 CATEGORY="base-system"
6 SHORT_DESC="SliTaz packages manager."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="busybox gettext-base"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.slitaz.org/"
11 WGET_URL="http://mirror.slitaz.org/sources/tazpkg/$TARBALL"
12 TAGS="slitaz package-manager"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 #
16 # Tazpkg is SliTaz packages manager. On an other GNU/Linux install
17 # can be do with : make install from the sources directory.
18 #
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 make DESTDIR=$PWD/_pkg install
25 }
27 genpkg_rules()
28 {
29 cp -a $_pkg/usr $fs
30 cp -a $_pkg/etc $fs
31 chown -R root.root $fs
32 # Default icon for mimetype (freedesktop standard compliant file
33 # manager will diplay a tazpkg icon for SliTaz packages).
34 mkdir -p $fs/usr/share/icons/hicolor/32x32/mimetypes
35 cd $fs/usr/share/icons/hicolor/32x32/mimetypes
36 ln -s /usr/share/pixmaps/tazpkg.png package-x-tazpkg.png
37 ln -s /usr/share/pixmaps/tazpkg.png gnome-mime-application-x-tazpkg.png
38 }