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