wok-next view nanoshot/receipt @ rev 20405

Follow BLFS Chapter 9 "General Libraries": up apr, apr-util, aspell, autoconf213 (for js), dbus-glib, enchant, exempi, fftw, glib, glibmm, gmime, gobject-introspection, gsl, js, libboost.

js is 39.7MB / 87.6MB now. Looks like it's proper time to kick off polkit (Hi, Xander! You was right.)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Dec 07 17:39:40 2017 +0200 (2017-12-07)
parents 795baf180500
children d43bf7aae921
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 gst0-python"
15 BUILD_DEPENDS="xdg-utils python pygobject pygtk pycurl gnome-python-desktop \
16 dbus-python python-pil bash sed gettext"
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 }