don't depend in libiconv, depend on libpthread, cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/packages@5347 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
f54383ef32
commit
d6c03f5259
@ -11,12 +11,13 @@ include $(TOPDIR)/rules.mk
|
|||||||
PKG_NAME:=tmsnc
|
PKG_NAME:=tmsnc
|
||||||
PKG_VERSION:=0.3.1
|
PKG_VERSION:=0.3.1
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
PKG_MD5SUM:=3b30e5dab0b1b679d2b945c3a5713636
|
|
||||||
PKG_SOURCE_URL:=@SF/tmsnc
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
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_CAT:=zcat
|
||||||
|
|
||||||
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||||
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
@ -24,32 +25,31 @@ include $(INCLUDE_DIR)/package.mk
|
|||||||
define Package/tmsnc
|
define Package/tmsnc
|
||||||
SECTION:=net
|
SECTION:=net
|
||||||
CATEGORY:=Network
|
CATEGORY:=Network
|
||||||
DEPENDS:=+libiconv +libncurses +libopenssl
|
DEPENDS:=+libncurses +libopenssl +libpthread
|
||||||
TITLE:=text-based MSN client
|
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
|
URL:=http://tmsnc.sourceforge.net
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
$(call Build/Configure/Default, \
|
$(call Build/Configure/Default, \
|
||||||
--with-libiconv-prefix=$(STAGING_DIR)/usr \
|
--disable-rpath \
|
||||||
--with-openssl="$(STAGING_DIR)/usr" \
|
--with-openssl="$(STAGING_DIR)/usr" \
|
||||||
--with-ncurses="$(STAGING_DIR)/usr" \
|
--with-ncurses="$(STAGING_DIR)/usr" \
|
||||||
--with-gnu-ld \
|
--without-libiconv-prefix \
|
||||||
)
|
)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(call Build/Compile/Default,DESTDIR="$(PKG_INSTALL_DIR)" \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
CFLAGS="$(TARGET_CFLAGS)" \
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||||
install \
|
all install
|
||||||
)
|
|
||||||
rm -rf $(PKG_INSTALL_DIR)/usr/man
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/tmsnc/install
|
define Package/tmsnc/install
|
||||||
mkdir -p $(1)
|
install -d -m0755 $(1)/usr/bin
|
||||||
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/tmsnc $(1)/usr/bin/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,tmsnc))
|
$(eval $(call BuildPackage,tmsnc))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user