wok-current view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="tazpkg-test"
4 VERSION="858"
5 CATEGORY="base-system"
6 SHORT_DESC="SliTaz packages manager"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.slitaz.org/"
10 TARBALL="tazpkg-$VERSION.tar.gz"
11 WGET_URL="http://hg.slitaz.org/tazpkg/archive/$VERSION.tar.gz"
12 TAGS="slitaz package-manager"
14 DEPENDS="busybox gettext-base"
15 SUGGESTED="tazpanel"
16 BUILD_DEPENDS="gettext"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 make && make DESTDIR=$DESTDIR VERSION=$VERSION install
22 }
24 genpkg_rules()
25 {
26 cp -a $install/* $fs
27 chown -R root.root $fs
29 # Default icon for mimetype (freedesktop standard compliant file
30 # manager will diplay a tazpkg icon for SliTaz packages).
31 icons="$fs/usr/share/icons/hicolor/32x32/mimetypes"
32 mkdir -p $icons
33 ln -s ../apps/tazpkg.png $icons/application-x-tazpkg.png
34 }