wok-next annotate tazpkg/receipt @ rev 20635

Up tazpkg (965), fix openconnect
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 27 13:59:14 2018 +0300 (2018-04-27)
parents aee343d75a6c
children cd7906120828
rev   line source
al@19826 1 # SliTaz package receipt v2.
pankso@10 2
pankso@10 3 PACKAGE="tazpkg"
al@20635 4 VERSION="965"
pankso@192 5 CATEGORY="base-system"
al@18236 6 SHORT_DESC="SliTaz packages manager"
pankso@10 7 MAINTAINER="pankso@slitaz.org"
pascal@15021 8 LICENSE="GPL3"
al@18286 9 WEB_SITE="http://www.slitaz.org/"
al@19583 10
al@19588 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@19588 12 WGET_URL="http://hg.slitaz.org/tazpkg/archive/$VERSION.tar.bz2"
pankso@10 13
al@20443 14 BUILD_DEPENDS_arm=" "
al@18968 15 BUILD_DEPENDS="gettext tidy-html5 libnotify-dev"
pankso@12879 16
al@20345 17 compile_rules() {
al@20345 18 make &&
al@20345 19 make DESTDIR=$DESTDIR VERSION=$VERSION install || return 1
al@17261 20
pankso@3952 21 # Default icon for mimetype (freedesktop standard compliant file
pankso@3952 22 # manager will diplay a tazpkg icon for SliTaz packages).
al@20345 23 icons="$install/usr/share/icons/hicolor/32x32/mimetypes"
psychomaniak@17872 24 mkdir -p $icons
psychomaniak@17872 25 ln -s ../apps/tazpkg.png $icons/application-x-tazpkg.png
al@20345 26
al@20345 27 rm $install/usr/share/doc/tazpkg/tazpkg.html
al@20345 28 cp $stuff/tazpkg.html $install/usr/share/doc/tazpkg/
al@20345 29
al@20345 30 chown -R root.root $install
al@20345 31 }
al@20345 32
al@20345 33 genpkg_rules() {
al@20345 34 copy @std doc/ hicolor/ *.mo
al@19826 35 DEPENDS="busybox gettext-base"
al@19826 36 SUGGESTED="tazpanel"
al@19826 37 TAGS="slitaz package-manager"
pankso@10 38 }