wok diff marlin/receipt @ rev 16921
Add sdft.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jul 17 20:58:52 2014 +0300 (2014-07-17) |
parents | |
children | b306abf02078 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/marlin/receipt Thu Jul 17 20:58:52 2014 +0300 1.3 @@ -0,0 +1,63 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="marlin" 1.7 +VERSION="0.5" 1.8 +CATEGORY="utilities" 1.9 +SHORT_DESC="A sleek and fast GTK3 file manager" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="GPL2 GPL3" 1.12 +WEB_SITE="https://launchpad.net/marlin" 1.13 +BRANCH="879" 1.14 +TARBALL="$PACKAGE-$BRANCH.tar.bz2" 1.15 +WGET_URL="bzr|lp:marlin" 1.16 + 1.17 +DEPENDS="dbus-glib gtk+3 libgee libnotify-gtk3 libsqlite varka dconf" 1.18 +SUGGESTED="tumbler ffmpegthumbnailer granite extended-actions" 1.19 +BUILD_DEPENDS="bazaar cmake vala varka-dev gtk+3-dev libgee-dev sqlite-dev \ 1.20 +dbus-glib-dev libnotify-gtk3-dev dconf-dev tumbler-dev ffmpegthumbnailer-dev \ 1.21 +granite-dev" 1.22 + 1.23 +# Rules to configure and make the package. 1.24 +compile_rules() 1.25 +{ 1.26 + # gee-1.0 is old while gee-0.8 is latest ;) 1.27 + sed -i 's|gee-1.0|gee-0.8|g' $(grep -l gee-1.0 $(find . -type f)) 1.28 + 1.29 + patch -p1 < $stuff/marlin-0.5.patch 1.30 + patch -p1 < $stuff/marlin-icons.patch 1.31 + 1.32 + mkdir build && cd build && 1.33 + cmake .. -DCMAKE_INSTALL_PREFIX=/usr && 1.34 + make && 1.35 + make DESTDIR=$install install 1.36 +} 1.37 + 1.38 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.39 +genpkg_rules() 1.40 +{ 1.41 + mkdir -p \ 1.42 + $fs/usr/bin \ 1.43 + $fs/usr/lib \ 1.44 + $fs/usr/share/locale 1.45 + cp -a $install/usr/bin $fs/usr 1.46 + cp -a $install/usr/lib/marlin $fs/usr/lib 1.47 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.48 + cp -a $install/usr/share/applications $fs/usr/share 1.49 + cp -a $install/usr/share/dbus* $fs/usr/share 1.50 + cp -a $install/usr/share/glib* $fs/usr/share 1.51 + cp -a $install/usr/share/icons $fs/usr/share 1.52 + cp -a $install/usr/share/marlin $fs/usr/share 1.53 + cp -a $install/usr/share/pixmaps $fs/usr/share 1.54 + 1.55 + # localization 1.56 + . $WOK/slitaz-i18n/stuff/locale-pack.conf 1.57 + for lang in $LOCALE_PACK; do 1.58 + langf=$install/usr/share/locale/$lang 1.59 + [ -d $langf ] && cp -a $langf $fs/usr/share/locale 1.60 + done 1.61 + 1.62 + # icons 1.63 + mkdir -p $fs/usr/share/icons/hicolor/16x16 1.64 + cp -a $stuff/apps $fs/usr/share/icons/hicolor/16x16 1.65 + cp -a $stuff/marlin.png $fs/usr/share/pixmaps 1.66 +}