From: Nicolas Thill Date: Mon, 30 Oct 2006 13:51:15 +0000 (+0000) Subject: don't depend in libiconv, depend on libpthread, cleanup X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7b017106cf0935f3a1f5ff6032809876c4a78dcd;p=openwrt%2Fsvn-archive%2Fpackages.git don't depend in libiconv, depend on libpthread, cleanup SVN-Revision: 5347 --- diff --git a/net/tmsnc/Makefile b/net/tmsnc/Makefile index 73bafe79b..a513c3ded 100644 --- a/net/tmsnc/Makefile +++ b/net/tmsnc/Makefile @@ -11,12 +11,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=tmsnc PKG_VERSION:=0.3.1 PKG_RELEASE:=1 -PKG_MD5SUM:=3b30e5dab0b1b679d2b945c3a5713636 -PKG_SOURCE_URL:=@SF/tmsnc + PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE_URL:=@SF/tmsnc +PKG_MD5SUM:=3b30e5dab0b1b679d2b945c3a5713636 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 @@ -24,32 +25,31 @@ include $(INCLUDE_DIR)/package.mk define Package/tmsnc SECTION:=net CATEGORY:=Network - DEPENDS:=+libiconv +libncurses +libopenssl + DEPENDS:=+libncurses +libopenssl +libpthread TITLE:=text-based MSN client - DESCRIPTION:=TMSNC is a textbased (console) MSN client written in C. + DESCRIPTION:=\ + TMSNC is a textbased (console) MSN client written in C. URL:=http://tmsnc.sourceforge.net endef define Build/Configure $(call Build/Configure/Default, \ - --with-libiconv-prefix=$(STAGING_DIR)/usr \ + --disable-rpath \ --with-openssl="$(STAGING_DIR)/usr" \ --with-ncurses="$(STAGING_DIR)/usr" \ - --with-gnu-ld \ + --without-libiconv-prefix \ ) endef define Build/Compile - $(call Build/Compile/Default,DESTDIR="$(PKG_INSTALL_DIR)" \ - CFLAGS="$(TARGET_CFLAGS)" \ - install \ - ) - rm -rf $(PKG_INSTALL_DIR)/usr/man + $(MAKE) -C $(PKG_BUILD_DIR) \ + DESTDIR="$(PKG_INSTALL_DIR)" \ + all install endef define Package/tmsnc/install - mkdir -p $(1) - $(CP) $(PKG_INSTALL_DIR)/* $(1)/ + install -d -m0755 $(1)/usr/bin + $(CP) $(PKG_INSTALL_DIR)/usr/bin/tmsnc $(1)/usr/bin/ endef $(eval $(call BuildPackage,tmsnc))