wok-next view openbox/receipt @ rev 20280
remove cyrus-sasl-pam, libsasl-without-ldap, enlightenment-pam, enlightenment-backgrounds, libcap-pam
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 08 14:41:47 2017 +0100 (2017-11-08) |
parents | aef69ec23a2f |
children | 0e7893ac206d |
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/ Clearlooks/ Onyx*/ xsessions/openbox.desktop \
50 open-folder-menu.sh
51 # SliTaz /etc/xdg/openbox/* files are in 'slitaz-configs' package
52 TAGS="window-manager"
53 SUGGESTED="obconf spacefm pcmanfm hsetroot wbar2 conky"
54 DEPENDS="pango xorg-libSM xorg-libXcursor xorg-libXi \
55 xorg-libXinerama xorg-libXrandr slitaz-configs"
56 # Handle SliTaz arch: /etc/slitaz/slitaz.conf
57 case "$SLITAZ_ARCH" in
58 i?86) DEPENDS="$DEPENDS startup-notification";;
59 arm*) DEPENDS="$DEPENDS hsetroot tint2";;
60 esac
61 ;;
62 openbox-python)
63 copy openbox-xdg-autostart
64 CAT="development|Python script - XDG auto start standard support"
65 DEPENDS="openbox python python-xdg"
66 ;;
67 openbox-themes)
68 copy themes/ @rm
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 }