nmap: remove empty folder
[openwrt.org/packages.git] / utils / Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#
# Copyright (C) 2011 Nuno Goncalves <nunojpg@gmail.com>
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
 
include $(TOPDIR)/rules.mk
 
PKG_NAME:=tcsh
PKG_VERSION:=6.17.00
PKG_RELEASE:=1
 
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=ftp://ftp.astron.com/pub/tcsh/
PKG_MD5SUM:=c47de903e3d52f6824c8dd0c91eeb477
 
PKG_MAINTAINER:=Nuno Goncalves <nunojpg@gmail.com>
 
include $(INCLUDE_DIR)/package.mk
 
define Package/tcsh
  SECTION:=utils
  CATEGORY:=Utilities
  TITLE:=Enhanced Berkeley UNIX C shell
  DEPENDS:=+libncurses
  URL:=http://www.tcsh.org/
endef
 
define Package/tcsh/description
        Tcsh is an enhanced, but completely compatible
        version of the Berkeley UNIX C shell (csh). It
        is a command language interpreter usable both
        as an interactive login shell and a shell
        script command processor. It includes a
        command-line editor, programmable word
        completion, spelling correction, a history
        mechanism, job control and a C-like syntax.
endef
 
define Package/tcsh/postinst
#!/bin/sh
grep tcsh $${IPKG_INSTROOT}/etc/shells || \
        echo "/bin/tcsh" >> $${IPKG_INSTROOT}/etc/shells
        echo "/bin/csh" >> $${IPKG_INSTROOT}/etc/shells
endef
 
define Package/tcsh/install
        $(INSTALL_DIR) $(1)/bin
        $(INSTALL_BIN) $(PKG_BUILD_DIR)/tcsh $(1)/bin/
        ln -sf tcsh $(1)/bin/csh
endef
 
$(eval $(call BuildPackage,tcsh))
 
comments