blob: 086e741cebb256a05b4719b2a81b98445c45f09c (
plain)
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
|
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
include $(TOPDIR)/rules.mk
PKG_NAME:= atftp
PKG_VERSION:= 0.7
PKG_RELEASE:= 2
PKG_MD5SUM:= 3b27365772d918050b2251d98a9c7c82
PKG_DESCR:= TFTP client
PKG_SECTION:= net
PKG_DEPENDS:= libreadline libncurses
PKG_URL:= http://freshmeat.net/projects/atftp
PKG_SITES:= ftp://ftp.mamalinux.com/pub/atftp/
PKG_DESCR_1:= TFTP server
include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,ATFTP,atftp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,ATFTPD,atftpd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_1},${PKG_SECTION}))
MAKE_FLAGS+= CFLAGS="${TCFLAGS} -Wall -D_REENTRANT -fno-inline"
CONFIGURE_STYLE= gnu
BUILD_STYLE= auto
INSTALL_STYLE= auto
post-install:
# atftp client
$(INSTALL_DIR) $(IDIR_ATFTP)/usr/bin
$(INSTALL_BIN) $(WRKBUILD)/atftp $(IDIR_ATFTP)/usr/bin
# atftp server
$(INSTALL_DIR) $(IDIR_ATFTPD)/usr/sbin
$(INSTALL_BIN) $(WRKBUILD)/atftpd $(IDIR_ATFTPD)/usr/sbin
include ${TOPDIR}/mk/pkg-bottom.mk
|