make use of feature-flags: let libX11 provide the feature "drawing-backend"

git-svn-id: svn://svn.openwrt.org/openwrt/packages@18388 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
mirko 2009-11-12 00:51:32 +00:00
parent e3d1ba0b5a
commit 8a8de5ae61

View File

@ -32,6 +32,12 @@ define Package/libX11
URL:=http://xorg.freedesktop.org/
endef
define Feature/libX11
TARGET_NAME:=drawing-backend
TARGET_TITLE:=Drawing Backend
NAME:=libX11
endef
define Build/Configure
$(call Build/Configure/Default, \
--enable-malloc0returnsnull \
@ -72,4 +78,5 @@ define Package/libX11/install
$(1)/usr/lib/
endef
$(eval $(call Feature,libX11))
$(eval $(call BuildPackage,libX11))