[or-cvs] r19174: {} It would help to have the libupnp package too... (torvm/trunk/build/kamikaze/patches)
coderman at seul.org
coderman at seul.org
Sat Mar 28 09:57:11 UTC 2009
Author: coderman
Date: 2009-03-28 05:57:11 -0400 (Sat, 28 Mar 2009)
New Revision: 19174
Added:
torvm/trunk/build/kamikaze/patches/006-kamikaze-upnptools.patch
Log:
It would help to have the libupnp package too...
Added: torvm/trunk/build/kamikaze/patches/006-kamikaze-upnptools.patch
===================================================================
--- torvm/trunk/build/kamikaze/patches/006-kamikaze-upnptools.patch (rev 0)
+++ torvm/trunk/build/kamikaze/patches/006-kamikaze-upnptools.patch 2009-03-28 09:57:11 UTC (rev 19174)
@@ -0,0 +1,47 @@
+diff -Naur a/package/upnptools/Makefile b/package/upnptools/Makefile
+--- a/package/upnptools/Makefile 1970-01-01 00:00:00.000000000 +0000
++++ b/package/upnptools/Makefile 2009-03-28 08:53:49.935194728 +0000
+@@ -0,0 +1,43 @@
++# Copyright (C) 2009 The Tor Project, Inc.
++#
++include $(TOPDIR)/rules.mk
++PKG_NAME:=upnptools
++PKG_VERSION:=1.6.6
++PKG_RELEASE:=1
++
++PKG_SOURCE:=libupnp-$(PKG_VERSION).tar.bz2
++PKG_SOURCE_URL:=http://downloads.sourceforge.net/pupnp/libupnp-1.6.6.tar.bz2
++PKG_MD5SUM:=8918dcf7428cd119d0c8275765ff2833
++
++include $(INCLUDE_DIR)/package.mk
++
++define Package/upnptools
++ SECTION:=libs
++ CATEGORY:=Libraries
++ TITLE:=UPnP Tools
++ URL:=pupnp.sourceforce.net
++endef
++
++define Package/upnptools/description
++ UPnP port forwarding tools
++endef
++
++CONFIGURE_ARGS += \
++ --enable-shared \
++ --enable-static \
++ --with-build-cc="$(HOSTCC)" \
++ --disable-webserver \
++ --disable-samples
++
++define Build/Compile
++ $(MAKE) -C $(PKG_BUILD_DIR) \
++ DESTDIR="$(PKG_INSTALL_DIR)" \
++ all install
++endef
++
++define Package/upnptools/install
++ $(INSTALL_DIR) $(1)/usr/lib
++ $(CP) -a $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/
++endef
++
++$(eval $(call BuildPackage,upnptools))
More information about the tor-commits
mailing list