wok-next diff steadyflow/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | f48456621a9d |
children |
line diff
1.1 --- a/steadyflow/receipt Tue Oct 16 16:46:05 2018 +0300 1.2 +++ b/steadyflow/receipt Thu Jan 03 11:21:15 2019 +0200 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="steadyflow" 1.8 VERSION="0.2.0" 1.9 @@ -7,47 +7,32 @@ 1.10 MAINTAINER="al.bobylev@gmail.com" 1.11 LICENSE="GPL3" 1.12 WEB_SITE="https://launchpad.net/steadyflow" 1.13 + 1.14 TARBALL="$PACKAGE-$VERSION.tar.xz" 1.15 WGET_URL="https://launchpad.net/$PACKAGE/trunk/$VERSION/+download/$TARBALL" 1.16 -TAGS="gtk3" 1.17 1.18 -DEPENDS="gtk3 libgee libnotify" 1.19 BUILD_DEPENDS="cmake vala gtk3-dev glib-dev libgee-dev libnotify-dev" 1.20 1.21 BUGS="Not able to download anything. Gnome-VFS error?" 1.22 1.23 -# Rules to configure and make the package. 1.24 -compile_rules() 1.25 -{ 1.26 - mkdir -p $DESTDIR/usr/share/man/man1 1.27 - # gee-1.0 is old while gee-0.8 is latest ;) 1.28 +compile_rules() { 1.29 + mkdir -p $install/usr/share/man/man1 1.30 + # gee-1.0 is old while gee-0.8 is latest ;-) 1.31 sed -i 's|gee-1.0|gee-0.8|g; s|Gee-1.0|Gee-0.8|g' \ 1.32 $(grep -li gee-1.0 $(find . -type f)) 1.33 sed -i 's/exit(/GLib.Process.&/' Steadyflow/Services.vala 1.34 1.35 mkdir build 1.36 - cd build 1.37 - cmake -DCMAKE_INSTALL_PREFIX=/usr .. && 1.38 - make 1.39 - make install 2>&1 | grep -v gzip: 1.40 + cd build 1.41 + cmake \ 1.42 + -DCMAKE_INSTALL_PREFIX=/usr \ 1.43 + .. && 1.44 + make && 1.45 + make install 1.46 } 1.47 1.48 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.49 -genpkg_rules() 1.50 -{ 1.51 - mkdir -p \ 1.52 - $fs/usr/share/applications \ 1.53 - $fs/usr/share/pixmaps \ 1.54 - $fs/usr/share/locale 1.55 - cp -a $install/usr/bin $fs/usr 1.56 - cp -a $install/usr/share/glib* $fs/usr/share 1.57 - cp -a $install/usr/share/steadyflow $fs/usr/share 1.58 - 1.59 - # localization 1.60 - . $WOK/slitaz-i18n/stuff/locale-pack.conf 1.61 - for lang in $LOCALE_PACK; do 1.62 - langf=$install/usr/share/locale/$lang 1.63 - [ -d $langf ] && cp -a $langf $fs/usr/share/locale && echo -n "$lang " 1.64 - done 1.65 - echo 1.66 +genpkg_rules() { 1.67 + copy @std *.mo 1.68 + DEPENDS="gtk3 libgee libnotify" 1.69 + TAGS="gtk3" 1.70 }