diff options
author | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
---|---|---|
committer | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
commit | 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch) | |
tree | b9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/atftp/Makefile |
Initial import
Diffstat (limited to 'package/atftp/Makefile')
-rw-r--r-- | package/atftp/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/package/atftp/Makefile b/package/atftp/Makefile new file mode 100644 index 000000000..ac49f0794 --- /dev/null +++ b/package/atftp/Makefile @@ -0,0 +1,32 @@ +# $Id$ +#- +# 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 +MASTER_SITES:= ftp://ftp.mamalinux.com/pub/atftp/ + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,ATFTP,atftp,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) +$(eval $(call PKG_template,ATFTPD,atftpd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) + +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 |