wok view tazpkg/receipt @ rev 12863
Add httrack.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu May 24 21:11:31 2012 +0000 (2012-05-24) |
parents | 7449759b1941 |
children | 614c08d23ef5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tazpkg"
4 VERSION="5.0"
5 CATEGORY="base-system"
6 SHORT_DESC="SliTaz packages manager."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="busybox gettext-base libtaz"
9 BUILD_DEPENDS="gettext"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.slitaz.org/"
12 WGET_URL="http://hg.slitaz.org/tazpkg/archive/$VERSION.tar.gz"
13 TAGS="slitaz package-manager"
14 HOST_ARCH="i486 arm"
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 && make DESTDIR=$DESTDIR install
27 }
29 genpkg_rules()
30 {
31 cp -a $install/* $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 }
41 post_install()
42 {
43 # Apply a fix to config file /etc/slitaz/slitaz.conf
44 [ -f /etc/slitaz/slitaz.conf ] && sed 's/LOCAL_STATE/LOCALSTATE/'\
45 -i /etc/slitaz/slitaz.conf
46 # Make sure new config is present
47 if ! grep -q ^NOTIFY_GEOM "$root/etc/slitaz/tazpkg.conf"; then
48 cat >> "$root/etc/slitaz/tazpkg.conf" << "EOT"
49 # The geometry of the desktop notification
50 NOTIFY_GEOM="360x80-0+24"
52 EOT
53 fi
54 }