-#
-# Copyright (C) 2007 OpenWrt.org
+#
+# Copyright (C) 2007-2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
-# blogic@openwrt.org
+# blogic@openwrt.org
+
include $(TOPDIR)/rules.mk
PKG_BASE_NAME:=libXpm
PKG_VERSION:=3.5.7
PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.4/src/lib/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
-PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/${PKG_NAME}-$(PKG_VERSION)/
+PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
+PKG_BUID_DEPENDS:=xproto
include $(INCLUDE_DIR)/package.mk
SECTION:=xorg-lib
CATEGORY:=Xorg
SUBMENU:=lib
- DEPENDS:= +xproto +libX11 @DISPLAY_SUPPORT
+ DEPENDS:=+libX11
TITLE:=libXpm
URL:=http://xorg.freedesktop.org/
endef