2008-06-09 20:16:17 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2008 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=libwnck
|
2009-05-08 19:12:05 +00:00
|
|
|
PKG_VERSION:=2.26.1
|
|
|
|
PKG_RELEASE:=1
|
2008-06-09 20:16:17 +00:00
|
|
|
|
2008-09-02 00:12:56 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
2009-05-08 19:12:05 +00:00
|
|
|
PKG_SOURCE_URL:=@GNOME/$(PKG_NAME)/2.26/
|
|
|
|
PKG_MD5SUM:=015b5d2e65d15448fa143513fce03541
|
2008-06-09 20:16:17 +00:00
|
|
|
PKG_FIXUP:=libtool
|
2009-05-08 19:12:05 +00:00
|
|
|
PKG_INSTALL:=1
|
2008-06-09 20:16:17 +00:00
|
|
|
|
2009-09-02 22:39:37 +00:00
|
|
|
PKG_BUILD_DEPENDS:=intltool/host
|
|
|
|
|
2008-06-09 20:16:17 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
2009-05-08 19:12:05 +00:00
|
|
|
TARGET_CFLAGS+= \
|
|
|
|
-I$(STAGING_DIR)/usr/lib/libintl/include/ \
|
|
|
|
-I$(STAGING_DIR)/usr/lib/libiconv/include/ \
|
|
|
|
$(FPIC)
|
|
|
|
|
|
|
|
TARGET_LDFLAGS+= \
|
|
|
|
-L$(STAGING_DIR)/usr/lib/libintl/lib/ \
|
|
|
|
-L$(STAGING_DIR)/usr/lib/libiconv/lib/ \
|
|
|
|
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
|
|
|
|
-Wl,-rpath=/usr/lib
|
2008-06-09 20:16:17 +00:00
|
|
|
|
|
|
|
define Package/libwnck
|
2009-05-08 19:12:05 +00:00
|
|
|
SECTION:=xorg-libs
|
|
|
|
CATEGORY:=Xorg
|
|
|
|
SUBMENU:=libraries
|
2008-06-09 20:16:17 +00:00
|
|
|
TITLE:=Window Navigator Construction Kit
|
|
|
|
URL:=http://ftp.gnome.org/
|
2009-07-05 13:14:32 +00:00
|
|
|
DEPENDS:=+gtk2 +glib2 +libXext +libintl
|
2008-06-09 20:16:17 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/libwnck/description
|
2008-09-02 00:12:56 +00:00
|
|
|
Window Navigator Construction Kit
|
2008-06-09 20:16:17 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/InstallDev
|
2008-09-02 00:12:56 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/include/libwnck-1.0/libwnck/
|
|
|
|
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/libwnck-1.0/libwnck/* $(1)/usr/include/libwnck-1.0/libwnck/
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/
|
2009-06-04 00:22:50 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.{so*,a,la} $(1)/usr/lib/
|
2008-09-02 00:12:56 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
|
|
|
|
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* $(1)/usr/lib/pkgconfig/
|
2008-06-09 20:16:17 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/libwnck/install
|
2008-09-02 00:12:56 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/
|
2009-01-04 00:06:33 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/
|
2008-06-09 20:16:17 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,libwnck))
|