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 URL
:=http
://icculus.org
/openbox
/
36 define Package
/openbox
/description
37 Openbox is a highly configurable
, next generation window manager
38 with extensive standards support.
42 $(MAKE
) -C
$(PKG_BUILD_DIR
) DESTDIR
="$(PKG_INSTALL_DIR)" install
45 define Package
/openbox
/install
46 $(INSTALL_DIR
) $(1)/etc
/xdg
/openbox
48 $(PKG_INSTALL_DIR
)/etc
/xdg
/openbox
/* \
51 $(INSTALL_DIR
) $(1)/usr
/bin
53 $(PKG_INSTALL_DIR
)/usr
/bin
/openbox \
56 $(PKG_INSTALL_DIR
)/usr
/bin
/openbox-session \
59 $(INSTALL_DIR
) $(1)/usr
/lib
61 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so \
64 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so.
* \
67 $(INSTALL_DIR
) $(1)/usr
/lib
/openbox
69 $(PKG_INSTALL_DIR
)/usr
/lib
/openbox
/* \
72 $(INSTALL_DIR
) $(1)/usr
/share
/pixmaps
74 $(PKG_INSTALL_DIR
)/usr
/share
/pixmaps
/* \
75 $(1)/usr
/share
/pixmaps
/
77 $(INSTALL_DIR
) $(1)/usr
/share
/themes
79 $(PKG_INSTALL_DIR
)/usr
/share
/themes
/* \
80 $(1)/usr
/share
/themes
/
83 define Build
/InstallDev
84 $(INSTALL_DIR
) $(1)/usr
/include/openbox
/3.4/openbox
86 $(PKG_INSTALL_DIR
)/usr
/include/openbox
/3.4/openbox
/* \
87 $(1)/usr
/include/openbox
/3.4/openbox
/
89 $(INSTALL_DIR
) $(1)/usr
/lib
91 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so \
94 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so.
* \
97 $(PKG_INSTALL_DIR
)/usr
/lib
/*.la \
100 $(INSTALL_DIR
) $(1)/usr
/lib
/openbox
102 $(PKG_INSTALL_DIR
)/usr
/lib
/openbox
/* \
103 $(1)/usr
/lib
/openbox
/
105 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
/
107 $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/* \
108 $(1)/usr
/lib
/pkgconfig
/
111 $(eval
$(call BuildPackage
,openbox
))