wok view nanoshot/receipt @ rev 19617

Up SliTaz projects: cookutils(863), slitaz-base-files(319), slitaz-boot-scripts(436), slitaz-configs(299), slitaz-tools(1008), ssfs(108), tazbug(94), tazinst(86), tazirc(18), tazlito(445), tazpanel(610), tazpkg(932), tazusb(194), tazweb(174).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jan 10 14:28:40 2017 +0200 (2017-01-10)
parents 4af76cfb62c4
children 86790a278e70
line source
1 # SliTaz package receipt.
3 PACKAGE="nanoshot"
4 VERSION="0.2.15"
5 CATEGORY="utilities"
6 SHORT_DESC="Take screenshots of screen area, selected windows, web pages and videos"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://sourceforge.net/projects/nanoshot/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="xdg-utils python pygobject pygtk pycurl gnome-python-desktop \
14 dbus-python python-pil gst-python"
15 BUILD_DEPENDS="xdg-utils python pygobject pygtk pycurl gnome-python-desktop \
16 dbus-python python-pil bash sed"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mkdir -p /usr/share/man
22 cd $src
23 ./configure $CONFIGURE_ARGS &&
24 sed -i 's/cp -T/cp/g' ./install
25 # fix install paths
26 sed -i "s|\"/usr|\"$install/usr|g" ./install
28 ./install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/* $fs
35 rm -rf $fs/usr/share/icons/{Humanity,Humanity-Dark,ubuntu-mono-dark}
36 rm -rf $fs/usr/man
37 # fix paths
38 sed -i "s|$install||g" $fs/usr/bin/Nanoshot
39 }