packages: move Xorg category to its own feed, move X-related packages as well
[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 include $(INCLUDE_DIR)/nls.mk
25
26 define Package/atk
27 SECTION:=xorg-libraries
28 CATEGORY:=Xorg
29 SUBMENU:=libraries
30 TITLE:=Accesibility library for gtk+ apps
31 DEPENDS:=+glib2
32 endef
33
34 define Build/InstallDev
35 $(INSTALL_DIR) $(1)/usr/{lib,include}
36 $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib* $(1)/usr/lib
37 $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/ $(1)/usr/lib/
38 $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
39 endef
40
41 define Package/atk/install
42 $(INSTALL_DIR) $(1)/usr/lib
43 $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib*so* $(1)/usr/lib/
44 endef
45
46 $(eval $(call BuildPackage,atk))