#
-# Copyright (C) 2006,2007 OpenWrt.org
+# Copyright (C) 2006-2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
PKG_NAME:=libsigc++
PKG_VERSION:=2.0.17
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.0/
PKG_MD5SUM:=fde0ee69e3125e982746d9fe005763e1
-PKG_BUILD_DEPENDS:=libtool
-
PKG_FIXUP = libtool
include $(INCLUDE_DIR)/package.mk
define Package/libsigcxx
- NAME:=libsigc++
SECTION:=libs
CATEGORY:=Libraries
TITLE:=typesafe callback system for standard C++
URL:=http://libsigc++.sourceforge.net/
- DEPENDS:=+uclibcxx
+ DEPENDS:=+libstdcpp
endef
define Package/libsigcxx/description
--enable-static \
CONFIGURE_VARS += \
- CXX="g++-uc+std" \
CXXFLAGS="$$$$CXXFLAGS -fno-rtti" \
-define Build/Configure
- $(call Build/Configure/Default,)
- $(SED) 's|^sys_lib_dlsearch_path_spec=.*|sys_lib_dlsearch_path_spec="$(STAGING_DIR)/usr/lib"|g' \
- $(PKG_BUILD_DIR)/libtool
- $(SED) 's|^postdeps=.*|postdeps=|g' $(PKG_BUILD_DIR)/libtool
-endef
-
define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR) all
- $(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" install
+ $(MAKE) -C $(PKG_BUILD_DIR) \
+ DESTDIR="$(PKG_INSTALL_DIR)" \
+ all install
endef
define Build/InstallDev
- mkdir -p $(1)/usr/include
+ $(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/sigc++-2.0 $(1)/usr/include/
- mkdir -p $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libsigc-2.0.{a,so*} $(1)/usr/lib/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/sigc++-2.0 $(1)/usr/lib/
- mkdir -p $(1)/usr/lib/pkgconfig
+ $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/sigc++-2.0.pc $(1)/usr/lib/pkgconfig/
- $(SED) 's,$(TARGET_LDFLAGS),,g' $(1)/usr/lib/pkgconfig/sigc++-2.0.pc
endef
define Package/libsigcxx/install
PKG_NAME:=libtorrent
PKG_VERSION:=0.11.9
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://libtorrent.rakshasa.no/downloads/
PKG_MD5SUM:=8974dc9499b382a09fb952cabcfef9a0
-PKG_BUILD_DEPENDS:=libtool
-
PKG_FIXUP = libtool
include $(INCLUDE_DIR)/package.mk
CATEGORY:=Libraries
TITLE:=Rakshasa's BitTorrent library
URL:=http://libtorrent.rakshasa.no/
- DEPENDS:=+libsigcxx
+ DEPENDS:=+libopenssl +libsigcxx
endef
define Package/libtorrent/description
the speed of the official client.
endef
+# XXX: rtorrent needs encryption (--enable-openssl)
CONFIGURE_ARGS+= \
--enable-shared \
--enable-static \
--enable-aligned \
--disable-debug \
- --disable-openssl \
+ --enable-openssl \
CONFIGURE_VARS += \
- CXX="g++-uc+std" \
CXXFLAGS="$$$$CXXFLAGS -fno-rtti" \
-define Build/Configure
- $(call Build/Configure/Default,)
- $(SED) 's|^sys_lib_dlsearch_path_spec=.*|sys_lib_dlsearch_path_spec="$(STAGING_DIR)/usr/lib"|g' \
- $(PKG_BUILD_DIR)/libtool
- $(SED) 's|^postdeps=.*|postdeps=|g' $(PKG_BUILD_DIR)/libtool
-endef
-
define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR) all
- $(call libtool_fixup_libdir,$(PKG_INSTALL_DIR))
- $(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" install
+ $(MAKE) -C $(PKG_BUILD_DIR) \
+ DESTDIR="$(PKG_INSTALL_DIR)" \
+ all install
endef
define Build/InstallDev
- mkdir -p $(1)/usr/include
+ $(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/torrent $(1)/usr/include/
- mkdir -p $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libtorrent.{a,so*} $(1)/usr/lib/
- mkdir -p $(1)/usr/lib/pkgconfig
+ $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libtorrent.pc $(1)/usr/lib/pkgconfig/
- $(SED) 's,$(TARGET_LDFLAGS),,g' $(1)/usr/lib/pkgconfig/libtorrent.pc
endef
define Package/libtorrent/install
#
-# 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.
PKG_NAME:=wxbase
PKG_VERSION:=2.8.7
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=wxGTK-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@SF/wxwindows
CATEGORY:=Libraries
TITLE:=Cross-platform C++ framework
URL:=http://www.wxwidgets.org/
- DEPENDS:=+libexpat +uclibcxx +zlib
+ DEPENDS:=+libexpat +libstdcpp +zlib
endef
define Package/libwxbase/description
--without-sdl-prefix \
--without-cppunit-prefix \
-CONFIGURE_VARS+= \
- CXX="g++-uc+std" \
-
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
#
-# 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.
PKG_NAME:=aMule
PKG_VERSION:=2.1.3
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@SF/amule
--without-libintl-prefix \
--without-x \
-CONFIGURE_VARS+= \
- CXX="g++-uc+std" \
-
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
HOSTCC="$(HOSTCC)" \
#
-# 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.
PKG_NAME:=mutella
PKG_VERSION:=0.4.5
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/$(PKG_NAME)
CATEGORY:=Network
TITLE:=Gnutella client with command line and http interface
URL:=http://mutella.sourceforge.net/
- DEPENDS:=+libncurses +libreadline +libpthread +uclibcxx +zlib
+ DEPENDS:=+libncurses +libreadline +libpthread +libstdcpp +zlib
endef
define Package/mutella/description
endef
CONFIGURE_VARS += \
- CXX="g++-uc+std" \
CXXFLAGS="$$$$CXXFLAGS -fno-rtti" \
define Build/Prepare
PKG_NAME:=rtorrent
PKG_VERSION:=0.7.9
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://libtorrent.rakshasa.no/downloads/
endef
define Package/rtorrent/description
- rTorrent is a BitTorrent client for ncurses, using the libtorrent library.
- The client and library are written in C++ with emphasis on speed and
- efficiency, while delivering equivalent features to those found in GUI
- based clients in an ncurses client.
+ rTorrent is a BitTorrent client for ncurses, using the libtorrent library.
+ The client and library are written in C++ with emphasis on speed and
+ efficiency, while delivering equivalent features to those found in GUI
+ based clients in an ncurses client.
endef
CONFIGURE_ARGS+= \
--disable-debug \
CONFIGURE_VARS += \
- CXX="g++-uc+std" \
CXXFLAGS="$$$$CXXFLAGS -fno-rtti" \
LIBS="-lm" \
define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" all
+ $(MAKE) -C $(PKG_BUILD_DIR) \
+ DESTDIR="$(PKG_INSTALL_DIR)" \
+ all install
endef
define Package/rtorrent/install
$(INSTALL_DIR) $(1)/usr/bin
- $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/rtorrent $(1)/usr/bin/
+ $(CP) $(PKG_INSTALL_DIR)/usr/bin/rtorrent $(1)/usr/bin/
endef
$(eval $(call BuildPackage,rtorrent))