[package] update faifa to r55, patch from Raphael Huck.
[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 PKG_INSTALL:=1
21
22 include $(INCLUDE_DIR)/package.mk
23
24 TARGET_LDFLAGS += \
25 -L$(STAGING_DIR)/usr/lib/libiconv/lib/ \
26 -L$(STAGING_DIR)/usr/lib/libintl/lib/ \
27
28 define Package/atk
29 SECTION:=xorg-libs
30 CATEGORY:=Xorg
31 SUBMENU:=libraries
32 TITLE:=Accesibility library for gtk+ apps
33 DEPENDS:=+glib2
34 endef
35
36 define Build/InstallDev
37 $(INSTALL_DIR) $(1)/usr/{lib,include}
38 $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib* $(1)/usr/lib
39 $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/ $(1)/usr/lib/
40 $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
41 endef
42
43 define Package/atk/install
44 $(INSTALL_DIR) $(1)/usr/lib
45 $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib*so* $(1)/usr/lib/
46 endef
47
48 $(eval $(call BuildPackage,atk))