Add uucp
[openwrt/svn-archive/archive.git] / net / uucp / Makefile
1 #
2 # Copyright (C) 2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id: $
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=uucp
12 PKG_VERSION:=1.07
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:=
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/uucp
21 SECTION:=net
22 CATEGORY:=Network
23 TITLE:=copy files to or from another (usually *nix) system
24 URL:=http://packages.debian.org/etch/uucp
25 endef
26
27 define Package/uucp/description
28 UUCP is used to transfer mail, news and random files between systems which are not
29 connected by more modern networks. The communication can be made via modems, direct
30 (hard-wired) serial connections or via an IP connection.
31 endef
32
33 CONFIGURE_ARGS += \
34 --enable-static \
35 --enable-shared
36
37 define Build/Compile
38 $(MAKE) -C $(PKG_BUILD_DIR) \
39 CFLAGS="$(TARGET_CFLAGS)" \
40 DESTDIR="$(PKG_INSTALL_DIR)" \
41 all install
42 endef
43
44
45 define Package/uucp/install
46 $(INSTALL_DIR) $(1)/usr/bin/
47 $(CP) $(PKG_BUILD_DIR)/{cu,tstuu,uu{chk,cico,conv,cp,log,name,pick,sched,stat,to,x,xqt}} $(1)/usr/bin/
48 endef
49
50 $(eval $(call BuildPackage,uucp))