2 # Copyright (C) 2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://icculus.org
/openbox
/releases
16 PKG_MD5SUM
:=9e7589e90519bc6ac2f4656ea6869439
19 -Wl
,-rpath-link
=$(STAGING_DIR
)/usr
/lib \
20 -Wl
,-rpath-link
=$(STAGING_DIR
)/usr
/lib
/libiconv
/lib \
21 -Wl
,-rpath-link
=$(STAGING_DIR
)/usr
/lib
/libintl
/lib
24 include $(INCLUDE_DIR
)/package.mk
26 define Package
/openbox
27 TITLE
:=The Openbox Window Manager
30 SUBMENU
:=window manager
31 DEPENDS
:=+glib2
+libxml2
+fontconfig
+libXft
+libXrandr
+libXt \
32 +libXcursor
+pango
+xextproto
+xf86vidmodeproto
+dejavu-fonts-ttf \
33 +freedesktop-compliant
34 URL
:=http
://icculus.org
/openbox
/
37 define Package
/openbox
/description
38 Openbox is a highly configurable
, next generation window manager
39 with extensive standards support.
43 $(MAKE
) -C
$(PKG_BUILD_DIR
) DESTDIR
="$(PKG_INSTALL_DIR)" install
46 define Package
/openbox
/install
47 $(INSTALL_DIR
) $(1)/etc
/xdg
/openbox
49 $(PKG_INSTALL_DIR
)/etc
/xdg
/openbox
/* \
52 $(INSTALL_DIR
) $(1)/usr
/bin
54 $(PKG_INSTALL_DIR
)/usr
/bin
/openbox \
57 $(PKG_INSTALL_DIR
)/usr
/bin
/openbox-session \
60 $(INSTALL_DIR
) $(1)/usr
/lib
62 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so \
65 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so.
* \
68 $(INSTALL_DIR
) $(1)/usr
/lib
/openbox
70 $(PKG_INSTALL_DIR
)/usr
/lib
/openbox
/* \
73 $(INSTALL_DIR
) $(1)/usr
/share
/pixmaps
75 $(PKG_INSTALL_DIR
)/usr
/share
/pixmaps
/* \
76 $(1)/usr
/share
/pixmaps
/
78 $(INSTALL_DIR
) $(1)/usr
/share
/themes
80 $(PKG_INSTALL_DIR
)/usr
/share
/themes
/* \
81 $(1)/usr
/share
/themes
/
84 define Build
/InstallDev
85 $(INSTALL_DIR
) $(1)/usr
/include/openbox
/3.4/openbox
87 $(PKG_INSTALL_DIR
)/usr
/include/openbox
/3.4/openbox
/* \
88 $(1)/usr
/include/openbox
/3.4/openbox
/
90 $(INSTALL_DIR
) $(1)/usr
/lib
92 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so \
95 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so.
* \
98 $(PKG_INSTALL_DIR
)/usr
/lib
/*.la \
101 $(INSTALL_DIR
) $(1)/usr
/lib
/openbox
103 $(PKG_INSTALL_DIR
)/usr
/lib
/openbox
/* \
104 $(1)/usr
/lib
/openbox
/
106 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
/
108 $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/* \
109 $(1)/usr
/lib
/pkgconfig
/
111 $(INSTALL_DIR
) $(1)/etc
/uci-defaults
113 .
/files
/uci-defaults
/* \
114 $(1)/etc
/uci-defaults
/
117 define Package
/openbox
/postinst
119 [ -n
"$${IPKG_INSTROOT}" ] && exit
124 $(eval
$(call BuildPackage
,openbox
))