wok-4.x view tazpkg/receipt @ rev 7998
Add: tazwok-experimental 0.0.2 - libtaz 0.0.1 - tazchroot 0.0.1
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Jan 18 15:50:33 2011 +0100 (2011-01-18) |
parents | 922cc0ebe84c |
children | d0c6a2d1c542 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tazpkg"
4 VERSION="4.1.3"
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="$VERSION.tar.gz"
11 WEB_SITE="http://www.slitaz.org/"
12 #WGET_URL="http://mirror.slitaz.org/sources/tazpkg/$TARBALL"
13 WGET_URL="http://hg.slitaz.org/$PACKAGE/archive/$TARBALL"
14 TAGS="slitaz package-manager"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 #
18 # Tazpkg is SliTaz packages manager. On an other GNU/Linux install
19 # can be do with : make install from the sources directory.
20 #
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
26 make DESTDIR=$PWD/_pkg install
27 }
29 genpkg_rules()
30 {
31 cp -a $_pkg/usr $fs
32 cp -a $_pkg/etc $fs
33 chown -R root.root $fs
34 # Default icon for mimetype (freedesktop standard compliant file
35 # manager will diplay a tazpkg icon for SliTaz packages).
36 mkdir -p $fs/usr/share/icons/hicolor/32x32/mimetypes
37 cd $fs/usr/share/icons/hicolor/32x32/mimetypes
38 ln -s /usr/share/pixmaps/tazpkg.png package-x-tazpkg.png
39 ln -s /usr/share/pixmaps/tazpkg.png gnome-mime-application-x-tazpkg.png
40 }