massive Makefile cleanup, add missing 'svn:keywords' property

git-svn-id: svn://svn.openwrt.org/openwrt/packages@5348 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico
2006-10-30 13:51:50 +00:00
parent d6c03f5259
commit 5cb332fb35
139 changed files with 1341 additions and 1322 deletions

View File

@ -12,12 +12,12 @@ PKG_NAME:=libupnp
PKG_VERSION:=1.2.1a
PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/upnp
PKG_MD5SUM:=e72b3550bf064eedf080f16f09688891
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk
@ -27,10 +27,10 @@ define Package/libupnp
CATEGORY:=Libraries
DEPENDS:=+libpthread
TITLE:=UPnP SDK library
DESCRIPTION:=UPnP (Universal Plug and Play) SDK library.\\\
The Universal Plug and Play (UPnP) SDK for Linux provides support \\\
for building UPnP-compliant control points, devices, and bridges \\\
on Linux.
DESCRIPTION:=\
The Universal Plug and Play (UPnP) SDK for Linux provides support \\\
for building UPnP-compliant control points, devices, and bridges \\\
on Linux.
URL:=http://upnp.sourceforge.net/
endef
@ -44,11 +44,6 @@ define Build/Compile
STRIP=/bin/true
endef
define Package/libupnp/install
install -m0755 -d $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/upnp/bin/lib{ixml,threadutil,upnp}.so $(1)/usr/lib/
endef
define Build/InstallDev
mkdir -p $(STAGING_DIR)/usr/include/upnp
$(CP) $(PKG_BUILD_DIR)/upnp/inc/*.h $(STAGING_DIR)/usr/include/upnp/
@ -62,4 +57,9 @@ define Build/UninstallDev
$(STAGING_DIR)/usr/lib/lib{ixml,threadutil,upnp}.so
endef
define Package/libupnp/install
install -d -m0755 $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/upnp/bin/lib{ixml,threadutil,upnp}.so $(1)/usr/lib/
endef
$(eval $(call BuildPackage,libupnp))