wok view waterline/receipt @ rev 19093
slitaz-icon: fix build for arm
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 01 16:44:02 2016 +0200 (2016-05-01) |
parents | |
children | 6135577f4d08 |
line source
1 # SliTaz package receipt.
3 PACKAGE="waterline"
4 VERSION="ed8ddef"
5 CATEGORY="x-window"
6 SHORT_DESC="A lightweight framework for desktop widgets and applets"
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 WEB_SITE="http://git.make-linux.org/sde/waterline.git"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WGET_URL="http://git.make-linux.org/sde/$PACKAGE.git/snapshot/$TARBALL"
12 TAGS="desktop panel taskbar"
14 DEPENDS="libsde-utils-jansson libsde-utils-x11"
15 BUILD_DEPENDS="automake libtool gtk+-dev jansson-dev libsde-utils \
16 libsde-utils-x11 libsde-utils-jansson libsde-utils-gtk \
17 xorg-libXcomposite-dev menu-cache-dev alsa-lib-dev"
18 # libsde-utils-dev libsde-utils-x11-dev libsde-utils-jansson-dev libsde-utils-gtk-dev
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 rm -rf $src/.git
24 sed 's/lxsession-logout/tazbox logout/' -i src/defaultapplications.c
25 ./autogen.sh || return 1
26 ./configure \
27 --prefix=/usr \
28 --libexec=/usr/lib \
29 --sysconfdir=/etc \
30 --localstatedir=/var \
31 --disable-static \
32 --disable-maintainer-mode \
33 --enable-silent-rules \
34 $CONFIGURE_ARGS &&
35 make &&
36 make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 cp -a $install/* $fs
43 mkdir -p $fs/etc/xdg/autostart
44 cat > $fs/etc/xdg/autostart/waterline.desktop <<EOT
45 [Desktop Entry]
46 Type=Application
47 Name=Waterline Desktop panel
48 Exec=waterline
49 EOT
50 rm -rf $fs/usr/include
51 rm -rf $fs/usr/lib/pkgconfig
52 rm -r $fs/usr/lib/waterline/internals/*.la
53 }