wok view tazpkg/receipt @ rev 7207

Up: lvm2 to 2.02.76.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Nov 09 21:05:34 2010 +0000 (2010-11-09)
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 }