wok annotate nanoshot/receipt @ rev 18526
Separate "gettext-tools" from "gettext"; "poedit": check dependencies
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 27 00:47:37 2015 +0200 (2015-10-27) |
parents | 4af76cfb62c4 |
children | 86790a278e70 |
rev | line source |
---|---|
al@13649 | 1 # SliTaz package receipt. |
al@13649 | 2 |
al@13649 | 3 PACKAGE="nanoshot" |
al@13649 | 4 VERSION="0.2.15" |
al@13649 | 5 CATEGORY="utilities" |
al@13649 | 6 SHORT_DESC="Take screenshots of screen area, selected windows, web pages and videos" |
al@13649 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@15000 | 8 LICENSE="GPL2" |
al@13649 | 9 WEB_SITE="http://sourceforge.net/projects/nanoshot/" |
al@13649 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@13649 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
al@13649 | 12 |
al@13649 | 13 DEPENDS="xdg-utils python pygobject pygtk pycurl gnome-python-desktop \ |
al@13649 | 14 dbus-python python-pil gst-python" |
al@13649 | 15 BUILD_DEPENDS="xdg-utils python pygobject pygtk pycurl gnome-python-desktop \ |
al@13649 | 16 dbus-python python-pil bash sed" |
al@13649 | 17 |
al@13649 | 18 # Rules to configure and make the package. |
al@13649 | 19 compile_rules() |
al@13649 | 20 { |
al@13649 | 21 mkdir -p /usr/share/man |
al@13649 | 22 cd $src |
al@13649 | 23 ./configure $CONFIGURE_ARGS && |
al@13649 | 24 sed -i 's/cp -T/cp/g' ./install |
al@13649 | 25 # fix install paths |
al@13649 | 26 sed -i "s|\"/usr|\"$install/usr|g" ./install |
al@13649 | 27 |
al@13649 | 28 ./install |
al@13649 | 29 } |
al@13649 | 30 |
al@13649 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@13649 | 32 genpkg_rules() |
al@13649 | 33 { |
al@13649 | 34 cp -a $install/* $fs |
al@13649 | 35 rm -rf $fs/usr/share/icons/{Humanity,Humanity-Dark,ubuntu-mono-dark} |
al@13649 | 36 rm -rf $fs/usr/man |
al@13649 | 37 # fix paths |
al@13649 | 38 sed -i "s|$install||g" $fs/usr/bin/Nanoshot |
al@13649 | 39 } |