wok-next view tazpkg/receipt @ rev 20420
linux-dev: up 4.9.76
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 11 15:21:05 2018 +0200 (2018-01-11) |
parents | 4d3f87a6c521 |
children | 7d149a8fe301 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="tazpkg"
4 VERSION="955"
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 HOST_ARCH="i486 arm"
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 }