21ee2210539e32cf4a7f1e03e31ea0e9abf5bdb3
[openwrt/svn-archive/archive.git] / net / uucp / Makefile
1 #
2 # Copyright (C) 2008-2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=uucp
11 PKG_VERSION:=1.07
12 PKG_RELEASE:=2
13
14 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
15 PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/u/uucp/
16 PKG_MD5SUM:=64c54d43787339a7cced48390eb3e1d0
17
18 PKG_INSTALL:=1
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/uucp
23 SECTION:=net
24 CATEGORY:=Network
25 TITLE:=copy files to or from another (usually *nix) system
26 URL:=http://packages.debian.org/etch/uucp
27 endef
28
29 define Package/uucp/description
30 UUCP is used to transfer mail, news and random files between systems which are not
31 connected by more modern networks. The communication can be made via modems, direct
32 (hard-wired) serial connections or via an IP connection.
33 endef
34
35 CONFIGURE_ARGS += \
36 --enable-static \
37 --enable-shared
38
39 define Package/uucp/install
40 $(INSTALL_DIR) $(1)/usr/bin/
41 $(CP) $(PKG_BUILD_DIR)/{cu,tstuu,uu{chk,cico,conv,cp,log,name,pick,sched,stat,to,x,xqt}} $(1)/usr/bin/
42 endef
43
44 $(eval $(call BuildPackage,uucp))