1234567891011121314151617181920212223242526272829303132333435363738394041 |
- # 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/misc
- PKG_DEPENDS:= libreadline libncurses
- PKG_BUILDDEP:= readline ncurses
- PKG_URL:= http://freshmeat.net/projects/atftp/
- PKG_SITES:= ftp://ftp.mamalinux.com/pub/atftp/
- DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
- PKG_LIBC_DEPENDS:= uclibc glibc
- PKG_SUBPKGS:= ATFTP ATFTPD
- PKGSD_ATFTPD:= tftp server
- PKGSS_ATFTPD:= libreadline libncurses
- 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},${PKGSD_ATFTPD},${PKG_SECTION}))
- CONFIGURE_ARGS+= --disable-libpcre
- MAKE_FLAGS+= CFLAGS="${TARGET_CFLAGS} -Wall -D_REENTRANT -fno-inline"
- atftp-install:
- $(INSTALL_DIR) $(IDIR_ATFTP)/usr/bin
- $(INSTALL_BIN) $(WRKBUILD)/atftp $(IDIR_ATFTP)/usr/bin
- atftpd-install:
- $(INSTALL_DIR) $(IDIR_ATFTPD)/usr/sbin
- $(INSTALL_BIN) $(WRKBUILD)/atftpd $(IDIR_ATFTPD)/usr/sbin
- include ${TOPDIR}/mk/pkg-bottom.mk
|