wok-current diff waterline/receipt @ rev 19802

pgrouting: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 25 21:46:07 2017 +0100 (2017-02-25)
parents
children 6135577f4d08
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/waterline/receipt	Sat Feb 25 21:46:07 2017 +0100
     1.3 @@ -0,0 +1,53 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="waterline"
     1.7 +VERSION="ed8ddef"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="A lightweight framework for desktop widgets and applets"
    1.10 +MAINTAINER="psychomaniak@xakep.ru"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="http://git.make-linux.org/sde/waterline.git"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.14 +WGET_URL="http://git.make-linux.org/sde/$PACKAGE.git/snapshot/$TARBALL"
    1.15 +TAGS="desktop panel taskbar"
    1.16 +
    1.17 +DEPENDS="libsde-utils-jansson libsde-utils-x11"
    1.18 +BUILD_DEPENDS="automake libtool gtk+-dev jansson-dev libsde-utils \
    1.19 +libsde-utils-x11 libsde-utils-jansson libsde-utils-gtk \
    1.20 +xorg-libXcomposite-dev menu-cache-dev alsa-lib-dev"
    1.21 +# libsde-utils-dev libsde-utils-x11-dev libsde-utils-jansson-dev libsde-utils-gtk-dev
    1.22 +
    1.23 +# Rules to configure and make the package.
    1.24 +compile_rules()
    1.25 +{
    1.26 +	rm -rf $src/.git
    1.27 +	sed 's/lxsession-logout/tazbox logout/' -i src/defaultapplications.c
    1.28 +	./autogen.sh || return 1
    1.29 +	./configure \
    1.30 +		--prefix=/usr \
    1.31 +		--libexec=/usr/lib \
    1.32 +		--sysconfdir=/etc \
    1.33 +		--localstatedir=/var \
    1.34 +		--disable-static \
    1.35 +		--disable-maintainer-mode \
    1.36 +		--enable-silent-rules \
    1.37 +		$CONFIGURE_ARGS &&
    1.38 +	make &&
    1.39 +	make install
    1.40 +}
    1.41 +
    1.42 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.43 +genpkg_rules()
    1.44 +{
    1.45 +	cp -a $install/* $fs
    1.46 +	mkdir -p $fs/etc/xdg/autostart
    1.47 +	cat > $fs/etc/xdg/autostart/waterline.desktop <<EOT
    1.48 +[Desktop Entry]
    1.49 +Type=Application
    1.50 +Name=Waterline Desktop panel
    1.51 +Exec=waterline
    1.52 +EOT
    1.53 +	rm -rf $fs/usr/include
    1.54 +	rm -rf $fs/usr/lib/pkgconfig
    1.55 +	rm -r $fs/usr/lib/waterline/internals/*.la
    1.56 +}