root/trunk/freewrt/package/atftp/Makefile

Revision 3239, 0.9 kB (checked in by tg, 1 year ago)

make postinstall scripts require mksh as functions.sh does
(how good it's in lbin/ anyway)

Line 
1 # $FreeWRT$
2 #-
3 # This file is part of the FreeWRT project. FreeWRT is copyrighted
4 # material, please see the LICENCE file in the top-level directory
5 # or at http://www.freewrt.org/licence for details.
6
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=              atftp
10 PKG_VERSION:=           0.7
11 PKG_RELEASE:=           2
12 PKG_MD5SUM:=            3b27365772d918050b2251d98a9c7c82
13 MASTER_SITES:=          ftp://ftp.mamalinux.com/pub/atftp/
14
15 include $(TOPDIR)/mk/package.mk
16
17 $(eval $(call PKG_template,ATFTP,atftp,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
18 $(eval $(call PKG_template,ATFTPD,atftpd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
19
20 TCFLAGS+=               -Wall -D_REENTRANT
21 CONFIGURE_STYLE=        gnu
22 BUILD_STYLE=            auto
23 INSTALL_STYLE=          auto
24
25 post-install:
26         # atftp client
27         $(INSTALL_DIR) $(IDIR_ATFTP)/usr/bin
28         $(INSTALL_BIN) $(WRKBUILD)/atftp $(IDIR_ATFTP)/usr/bin
29         # atftp server
30         $(INSTALL_DIR) $(IDIR_ATFTPD)/usr/sbin
31         $(INSTALL_BIN) $(WRKBUILD)/atftpd $(IDIR_ATFTPD)/usr/sbin
32
33 include ${TOPDIR}/mk/pkg-bottom.mk
Note: See TracBrowser for help on using the browser.