wok-next annotate tazpkg/receipt @ rev 21084
Add librefox
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Dec 25 14:44:32 2018 +0200 (2018-12-25) |
parents | fad5e3b64d43 |
children | f1e6b2262ec2 |
rev | line source |
---|---|
al@19826 | 1 # SliTaz package receipt v2. |
pankso@10 | 2 |
pankso@10 | 3 PACKAGE="tazpkg" |
al@21047 | 4 VERSION="971" |
pankso@192 | 5 CATEGORY="base-system" |
al@18236 | 6 SHORT_DESC="SliTaz packages manager" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15021 | 8 LICENSE="GPL3" |
al@18286 | 9 WEB_SITE="http://www.slitaz.org/" |
al@20888 | 10 REPOLOGY="-" |
al@19583 | 11 |
al@19588 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@19588 | 13 WGET_URL="http://hg.slitaz.org/tazpkg/archive/$VERSION.tar.bz2" |
pankso@10 | 14 |
al@21020 | 15 BUILD_DEPENDS="gettext-dev tidy-html5 libnotify-dev" |
pankso@12879 | 16 |
al@20345 | 17 compile_rules() { |
al@20345 | 18 make && |
al@21020 | 19 make DESTDIR=$install 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 } |