wok-next view tazpkg/receipt @ rev 20892

linux: up (4.17.7)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jul 20 01:20:51 2018 +0300 (2018-07-20)
parents 51c511afea38
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="tazpkg"
4 VERSION="965"
5 CATEGORY="base-system"
6 SHORT_DESC="SliTaz packages manager"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.slitaz.org/"
10 REPOLOGY="-"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="http://hg.slitaz.org/tazpkg/archive/$VERSION.tar.bz2"
15 BUILD_DEPENDS_arm=" "
16 BUILD_DEPENDS="gettext tidy-html5 libnotify-dev"
18 compile_rules() {
19 make &&
20 make DESTDIR=$DESTDIR VERSION=$VERSION install || return 1
22 # Default icon for mimetype (freedesktop standard compliant file
23 # manager will diplay a tazpkg icon for SliTaz packages).
24 icons="$install/usr/share/icons/hicolor/32x32/mimetypes"
25 mkdir -p $icons
26 ln -s ../apps/tazpkg.png $icons/application-x-tazpkg.png
28 rm $install/usr/share/doc/tazpkg/tazpkg.html
29 cp $stuff/tazpkg.html $install/usr/share/doc/tazpkg/
31 chown -R root.root $install
32 }
34 genpkg_rules() {
35 copy @std doc/ hicolor/ *.mo
36 DEPENDS="busybox gettext-base"
37 SUGGESTED="tazpanel"
38 TAGS="slitaz package-manager"
39 }