wok view steadyflow/receipt @ rev 18091
slitaz-menus: add hr, is, ja, nl, nb, nn, fi and tr translations according to garcon-0.3.0.tazpkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 25 22:25:36 2015 +0200 (2015-05-25) |
parents | 41ec34064348 |
children | 165f2965ff38 |
line source
1 # SliTaz package receipt.
3 PACKAGE="steadyflow"
4 VERSION="0.2.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Simple download manager for GNOME"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://launchpad.net/steadyflow"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WGET_URL="https://launchpad.net/$PACKAGE/trunk/$VERSION/+download/$TARBALL"
12 TAGS="gtk3"
14 DEPENDS="gtk+3 libgee libnotify-gtk3"
15 BUILD_DEPENDS="wget cmake vala gtk+3-dev glib-dev libgee-dev libnotify-gtk3-dev"
17 BUGS="Not able to download anything. Gnome-VFS error?"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 mkdir -p $DESTDIR/usr/share/man/man1
23 # gee-1.0 is old while gee-0.8 is latest ;)
24 sed -i 's|gee-1.0|gee-0.8|g; s|Gee-1.0|Gee-0.8|g' \
25 $(grep -li gee-1.0 $(find . -type f))
26 sed -i 's/exit(/GLib.Process.&/' Steadyflow/Services.vala
28 mkdir build
29 cd build
30 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
31 make
32 make install 2>&1 | grep -v gzip:
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p \
39 $fs/usr/share/applications \
40 $fs/usr/share/pixmaps \
41 $fs/usr/share/locale
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/share/glib* $fs/usr/share
44 cp -a $install/usr/share/steadyflow $fs/usr/share
46 # localization
47 . $WOK/slitaz-i18n/stuff/locale-pack.conf
48 for lang in $LOCALE_PACK; do
49 langf=$install/usr/share/locale/$lang
50 [ -d $langf ] && cp -a $langf $fs/usr/share/locale && echo -n "$lang "
51 done
52 echo
53 }