wok-current annotate tazpkg-test/receipt @ rev 18587

Fix icons in tazpkg-box
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 13 00:35:27 2015 +0200 (2015-11-13)
parents 2e80ff20fdf2
children 1f5b96e5c70b
rev   line source
al@18473 1 # SliTaz package receipt.
al@18473 2
al@18473 3 PACKAGE="tazpkg-test"
al@18587 4 VERSION="858"
al@18473 5 CATEGORY="base-system"
al@18473 6 SHORT_DESC="SliTaz packages manager"
al@18473 7 MAINTAINER="al.bobylev@gmail.com"
al@18473 8 LICENSE="GPL3"
al@18473 9 WEB_SITE="http://www.slitaz.org/"
al@18473 10 TARBALL="tazpkg-$VERSION.tar.gz"
al@18473 11 WGET_URL="http://hg.slitaz.org/tazpkg/archive/$VERSION.tar.gz"
al@18473 12 TAGS="slitaz package-manager"
al@18473 13
al@18473 14 DEPENDS="busybox gettext-base"
al@18473 15 SUGGESTED="tazpanel"
al@18473 16 BUILD_DEPENDS="gettext"
al@18473 17
al@18473 18 # Rules to configure and make the package.
al@18473 19 compile_rules()
al@18473 20 {
al@18473 21 make && make DESTDIR=$DESTDIR VERSION=$VERSION install
al@18473 22 }
al@18473 23
al@18473 24 genpkg_rules()
al@18473 25 {
al@18473 26 cp -a $install/* $fs
al@18473 27 chown -R root.root $fs
al@18473 28
al@18473 29 # Default icon for mimetype (freedesktop standard compliant file
al@18473 30 # manager will diplay a tazpkg icon for SliTaz packages).
al@18473 31 icons="$fs/usr/share/icons/hicolor/32x32/mimetypes"
al@18473 32 mkdir -p $icons
al@18473 33 ln -s ../apps/tazpkg.png $icons/application-x-tazpkg.png
al@18473 34 }