wok-next view nanoshot/receipt @ rev 18450
perl-datetime and others: update to perl datetime which required a bunch of other deps to also be updated
author | Nathan Neulinger <nneul@neulinger.org> |
---|---|
date | Sun Sep 27 19:52:03 2015 +0000 (2015-09-27) |
parents | 4af76cfb62c4 |
children | 795baf180500 |
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 }