wok-stable annotate tazpkg/receipt @ rev 7888

Up: geany to 0.20.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Jan 07 04:41:36 2011 +0000 (2011-01-07)
parents 922cc0ebe84c
children d0c6a2d1c542
rev   line source
pankso@10 1 # SliTaz package receipt.
pankso@10 2
pankso@10 3 PACKAGE="tazpkg"
gokhlayeh@7573 4 VERSION="4.1.3"
pankso@192 5 CATEGORY="base-system"
pankso@10 6 SHORT_DESC="SliTaz packages manager."
pankso@10 7 MAINTAINER="pankso@slitaz.org"
slaxemulator@6807 8 DEPENDS="busybox gettext-base"
slaxemulator@7518 9 BUILD_DEPENDS="gettext"
slaxemulator@7518 10 TARBALL="$VERSION.tar.gz"
pankso@10 11 WEB_SITE="http://www.slitaz.org/"
slaxemulator@7518 12 #WGET_URL="http://mirror.slitaz.org/sources/tazpkg/$TARBALL"
slaxemulator@7518 13 WGET_URL="http://hg.slitaz.org/$PACKAGE/archive/$TARBALL"
jozee@4973 14 TAGS="slitaz package-manager"
pankso@10 15
pankso@10 16 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@10 17 #
pankso@10 18 # Tazpkg is SliTaz packages manager. On an other GNU/Linux install
pankso@10 19 # can be do with : make install from the sources directory.
pankso@10 20 #
pankso@6776 21
pankso@6776 22 # Rules to configure and make the package.
pankso@6776 23 compile_rules()
pankso@6776 24 {
pankso@6776 25 cd $src
pankso@6776 26 make DESTDIR=$PWD/_pkg install
pankso@6776 27 }
pankso@6776 28
pankso@10 29 genpkg_rules()
pankso@10 30 {
pankso@6776 31 cp -a $_pkg/usr $fs
pankso@6776 32 cp -a $_pkg/etc $fs
pankso@722 33 chown -R root.root $fs
pankso@3952 34 # Default icon for mimetype (freedesktop standard compliant file
pankso@3952 35 # manager will diplay a tazpkg icon for SliTaz packages).
pankso@3952 36 mkdir -p $fs/usr/share/icons/hicolor/32x32/mimetypes
pankso@3952 37 cd $fs/usr/share/icons/hicolor/32x32/mimetypes
pankso@3952 38 ln -s /usr/share/pixmaps/tazpkg.png package-x-tazpkg.png
pankso@3952 39 ln -s /usr/share/pixmaps/tazpkg.png gnome-mime-application-x-tazpkg.png
pankso@10 40 }