wok-next view openbox/receipt @ rev 19879
qemacs: does not need gcc3
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 04 18:36:44 2017 +0200 (2017-10-04) |
parents | b938e6730252 |
children | c3d04e304a7a |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="openbox"
4 VERSION="3.6.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Small-footprint and standard compliant Window Manager"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://openbox.org/"
10 HOST_ARCH="i486 arm"
12 TARBALL="openbox-$VERSION.tar.gz"
13 WGET_URL="http://openbox.org/dist/openbox/$TARBALL"
15 BUILD_DEPENDS="glib-dev pango-dev \
16 gettext xorg-libXcursor-dev xorg-libICE-dev xorg-libSM-dev xorg-libXrandr-dev \
17 xorg-libXinerama-dev startup-notification-dev automake libtool docbook-utils \
18 xorg-libXi-dev"
19 BUILD_DEPENDS_arm="pango-dev glib-dev xorg-libXft-dev util-linux-uuid-dev \
20 libxml2-dev xcb-util-dev"
21 SPLIT="openbox-themes openbox-python openbox-dev"
22 SIBLINGS="openbox-max"
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # openbox required reconfiguration after patching...
28 autoreconf -fi &&
30 ./configure \
31 --sysconfdir=/etc \
32 --libexecdir=/usr/lib/openbox \
33 --disable-static \
34 --docdir=/usr/share/doc/openbox-$VERSION \
35 $CONFIGURE_ARGS &&
36 make &&
37 make -j1 DESTDIR=$DESTDIR install &&
39 # Pipe menu.
40 cp $stuff/open-folder-menu.sh $install/usr/lib/openbox/
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 case $PACKAGE in
47 openbox)
48 copy obxprop openbox openbox-session *.so* openbox-autostart \
49 pixmaps/ Onyx*/ xsessions/openbox.desktop open-folder-menu.sh
50 # SliTaz /etc/xdg/openbox/* files are in 'slitaz-configs' package
51 TAGS="window-manager"
52 SUGGESTED="obconf spacefm pcmanfm hsetroot wbar2 conky"
53 DEPENDS="pango xorg-libSM xorg-libXcursor xorg-libXi \
54 xorg-libXinerama xorg-libXrandr slitaz-configs"
55 # Handle SliTaz arch: /etc/slitaz/slitaz.conf
56 case "$SLITAZ_ARCH" in
57 i?86) DEPENDS="$DEPENDS startup-notification";;
58 arm*) DEPENDS="$DEPENDS hsetroot tint2";;
59 esac
60 ;;
61 openbox-python)
62 copy openbox-xdg-autostart
63 CAT="development|Python script - XDG auto start standard support"
64 DEPENDS="openbox python python-xdg"
65 ;;
66 openbox-themes)
67 copy themes/
68 remove_already_packed
69 CAT="customiz|official themes set"
70 ;;
71 openbox-dev)
72 copy @dev
73 DEPENDS="openbox openbox-themes bzip2-dev \
74 fontconfig-dev freetype-dev glib-dev harfbuzz-dev libffi-dev \
75 liblzma-dev libpng16-dev libxcb-dev libxml2-dev pango-dev pcre-dev \
76 util-linux-uuid-dev xorg-libICE-dev xorg-libSM-dev xorg-libX11-dev \
77 xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev xorg-libXft-dev \
78 xorg-libXi-dev xorg-libXinerama-dev xorg-libXrandr-dev \
79 xorg-libXrender-dev zlib-dev"
80 ;;
81 esac
82 }