wok-next view nanoshot/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | c022997c7a57 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="nanoshot"
4 VERSION="0.2.15"
5 CATEGORY="utilities"
6 SHORT_DESC="Take screenshots of screen area, windows, web pages and videos"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://sourceforge.net/projects/nanoshot/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="xdg-utils python python-pygobject2 python-pygtk pycurl gnome-python-desktop \
15 python-dbus python-pil bash sed gettext-dev"
17 compile_rules() {
18 mkdir -p /usr/share/man
20 ./configure $CONFIGURE_ARGS &&
21 sed -i 's/cp -T/cp/g' ./install
22 # fix install paths
23 sed -i "s|\"/usr|\"$install/usr|g" ./install
25 ./install
27 # fix paths
28 sed -i "s|$install||g" $install/usr/bin/Nanoshot
29 }
31 genpkg_rules() {
32 copy @std
33 DEPENDS="xdg-utils python python-pygobject2 python-pygtk pycurl gnome-python-desktop \
34 python-dbus python-pil gst0-python"
35 }