nuke $Id$ in /packages as well
[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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=uucp
11 PKG_VERSION:=1.07
12
13 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
14 PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/u/uucp/
15 PKG_MD5SUM:=
16
17 include $(INCLUDE_DIR)/package.mk
18
19 define Package/uucp
20 SECTION:=net
21 CATEGORY:=Network
22 TITLE:=copy files to or from another (usually *nix) system
23 URL:=http://packages.debian.org/etch/uucp
24 endef
25
26 define Package/uucp/description
27 UUCP is used to transfer mail, news and random files between systems which are not
28 connected by more modern networks. The communication can be made via modems, direct
29 (hard-wired) serial connections or via an IP connection.
30 endef
31
32 CONFIGURE_ARGS += \
33 --enable-static \
34 --enable-shared
35
36 define Build/Compile
37 $(MAKE) -C $(PKG_BUILD_DIR) \
38 CFLAGS="$(TARGET_CFLAGS)" \
39 DESTDIR="$(PKG_INSTALL_DIR)" \
40 all install
41 endef
42
43
44 define Package/uucp/install
45 $(INSTALL_DIR) $(1)/usr/bin/
46 $(CP) $(PKG_BUILD_DIR)/{cu,tstuu,uu{chk,cico,conv,cp,log,name,pick,sched,stat,to,x,xqt}} $(1)/usr/bin/
47 endef
48
49 $(eval $(call BuildPackage,uucp))