wok-next view nanoshot/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | da30720c01f0 |
children | a3c581bf52b8 |
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="http://sourceforge.net/projects/nanoshot/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="xdg-utils python pygobject pygtk pycurl gnome-python-desktop \
15 dbus-python python-pil bash sed gettext"
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 pygobject pygtk pycurl gnome-python-desktop \
34 dbus-python python-pil gst0-python"
35 }