source: feeds/xfce/libs/libxfcegui4/Makefile @ 29279

Last change on this file since 29279 was 29279, checked in by nico, 5 years ago

[xfce] fix DL URLs (closes: #9116)

File size: 1.8 KB
Line 
1#
2# Copyright (C) 2009-2011 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=libxfcegui4
11PKG_VERSION:=4.6.1
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15PKG_SOURCE_URL:=http://archive.xfce.org/xfce/$(PKG_VERSION)/src/
16PKG_MD5SUM:=539cff747634b8ee6f0d2362ee78a286
17
18PKG_FIXUP:=libtool
19PKG_INSTALL:=1
20
21include $(INCLUDE_DIR)/package.mk
22include $(INCLUDE_DIR)/nls.mk
23
24define Package/libxfcegui4
25  SECTION:=xorg-framework
26  CATEGORY:=Xorg
27  SUBMENU:=framework
28  TITLE:=libxfcegui4
29  DEPENDS:=+libxfce4util +gtk2 +libglade +libxfconf +libSM +libX11
30endef
31
32define Build/InstallDev
33        $(INSTALL_DIR) $(1)/usr/{lib/pkgconfig,include/xfce4/libxfcegui4,include/xfce4/libxfce4kbd-private}
34        $(INSTALL_DATA) \
35                $(PKG_INSTALL_DIR)/usr/include/xfce4/libxfcegui4/* \
36                $(1)/usr/include/xfce4/libxfcegui4
37        $(INSTALL_DATA) \
38                $(PKG_INSTALL_DIR)/usr/include/xfce4/libxfce4kbd-private/* \
39                $(1)/usr/include/xfce4/libxfce4kbd-private/
40        $(CP) \
41                $(PKG_INSTALL_DIR)/usr/lib/*.{la,so*,a} \
42                $(1)/usr/lib/
43        $(INSTALL_DATA) \
44                $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
45                $(1)/usr/lib/pkgconfig/
46endef
47
48define Package/libxfcegui4/install
49        $(INSTALL_DIR) $(1)/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/
50        $(INSTALL_DATA) \
51                $(PKG_INSTALL_DIR)/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/* \
52                $(1)/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/
53
54        $(INSTALL_DIR) $(1)/usr/lib/
55        $(CP) \
56                $(PKG_INSTALL_DIR)/usr/lib/*.so* \
57                $(1)/usr/lib/
58
59        $(INSTALL_DIR) $(1)/usr/lib/libglade/2.0
60        $(INSTALL_DATA) \
61                $(PKG_INSTALL_DIR)/usr/lib/libglade/2.0/*.so \
62                $(1)/usr/lib/libglade/2.0/
63
64        $(INSTALL_DIR) $(1)/usr/share/icons/hicolor
65        $(CP) \
66                $(PKG_INSTALL_DIR)/usr/share/icons/hicolor/* \
67                $(1)/usr/share/icons/hicolor/
68endef
69
70$(eval $(call BuildPackage,libxfcegui4))
Note: See TracBrowser for help on using the repository browser.