wok-stable view tazpkg/receipt @ rev 5253

Removed firefox-simple-mail
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 12 18:58:00 2010 +0200 (2010-04-12)
parents 33e185417eec
children c1ba7714d0d4
line source
1 # SliTaz package receipt.
3 PACKAGE="tazpkg"
4 VERSION="3.4"
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"
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 #
19 genpkg_rules()
20 {
21 mkdir -p \
22 $fs/etc/slitaz \
23 $fs/usr/bin \
24 $fs/usr/lib/slitaz \
25 $fs/usr/share/doc/$PACKAGE
26 cp -a $src/tazpkg $fs/usr/bin
27 cp -a $src/tazpkgbox $fs/usr/bin
28 cp -a $src/tazpkg.conf $fs/etc/slitaz
29 cp -a $src/lib/* $fs/usr/lib/slitaz
30 cp -a $src/applications $fs/usr/share
31 cp -a $src/pixmaps $fs/usr/share
32 cp -a $src/mime $fs/usr/share
33 cp -a $src/doc/*.html $fs/usr/share/doc/$PACKAGE
34 chmod 755 $fs/usr/bin/$PACKAGE
35 chown -R root.root $fs
36 # Default icon for mimetype (freedesktop standard compliant file
37 # manager will diplay a tazpkg icon for SliTaz packages).
38 mkdir -p $fs/usr/share/icons/hicolor/32x32/mimetypes
39 cd $fs/usr/share/icons/hicolor/32x32/mimetypes
40 ln -s /usr/share/pixmaps/tazpkg.png package-x-tazpkg.png
41 ln -s /usr/share/pixmaps/tazpkg.png gnome-mime-application-x-tazpkg.png
42 }
44 post_install()
45 {
46 # update mime-cache
47 echo "Updating mime-types database..."
48 update-mime-database $1/usr/share/mime
49 }