All pastes #339050 Raw Edit

Mine

public text v1 · immutable
·published 2007-02-03 20:50 UTC
rendered paste body
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id: Makefile 5624 2006-11-23 00:29:07Z nbd $

include $(TOPDIR)/rules.mk

PKG_NAME:=ysmv7
PKG_VERSION:=2_9_9_1
PKG_RELEASE:=1

PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/ysmv7/
PKG_MD5SUM:=ac59da6edc7a94a6ed9ca9142d3d6298
PKG_CAT:=zcat

PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)_$(PKG_VERSION)
PKG_INSTALL_DIR=$(PKG_BUILD_DIR)

include $(INCLUDE_DIR)/package.mk

define Package/ysmv7
  SECTION:=net
  CATEGORY:=Network
  DEPENDS:=+libncurses +libpthread
  TITLE:=ysmv7
  DESCRIPTION:=\
	A console ICQ client supporting versions 7/8
  URL:=http://ysmv7.sourceforge.net/
endef

define Build/Configure	
	$(call Build/Configure/Default, \
		--disable-threads \
		--disable-readline \
	)
endef

define Build/Compile	
	$(MAKE) -C $(PKG_BUILD_DIR) 
endef

define Package/ysmv7/install	
	$(INSTALL_DIR) $(1)/usr/bin
	$(CP) $(PKG_INSTALL_DIR)/src/ysm $(1)/usr/bin/
endef

$(eval $(call BuildPackage,ysmv7))