e48007ea230b69e0f2c9e04f682979ed1cc0ae14
[openwrt/svn-archive/archive.git] / Xorg / lib / atk / Makefile
1 #
2 # Copyright (C) 2006-2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # blogic@openwrt.org
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=atk
12 PKG_VERSION:=1.22.0
13 PKG_RELEASE:=3
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=@GNOME/$(PKG_NAME)/1.22/
17 PKG_MD5SUM:=06a2b39a22d5ca35c47435da6b9643ac
18
19 PKG_FIXUP:=libtool
20
21 PKG_INSTALL:=1
22
23 include $(INCLUDE_DIR)/package.mk
24
25 TARGET_LDFLAGS += \
26 -L$(STAGING_DIR)/usr/lib/libiconv/lib/ \
27 -L$(STAGING_DIR)/usr/lib/libintl/lib/ \
28
29 define Package/atk
30 SECTION:=xorg-libraries
31 CATEGORY:=Xorg
32 SUBMENU:=libraries
33 TITLE:=Accesibility library for gtk+ apps
34 DEPENDS:=+glib2
35 endef
36
37 define Build/InstallDev
38 $(INSTALL_DIR) $(1)/usr/{lib,include}
39 $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib* $(1)/usr/lib
40 $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/ $(1)/usr/lib/
41 $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
42 endef
43
44 define Package/atk/install
45 $(INSTALL_DIR) $(1)/usr/lib
46 $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib*so* $(1)/usr/lib/
47 endef
48
49 $(eval $(call BuildPackage,atk))