source: freewrt/package/ed/Makefile@ ca629a6

freewrt_1_0 freewrt_2_0
Last change on this file since ca629a6 was 8273753, checked in by Thorsten Glaser <tg@…>, 19 years ago

add a sensible text editor, because busybox' vi is horribly
broken, even according to wbx@ (vi fanboy)...

git-svn-id: svn://www.freewrt.org/trunk/freewrt@711 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 983 bytes
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
7include $(TOPDIR)/rules.mk
8
9PKG_NAME= ed
10PKG_VERSION= 20060924
11PKG_RELEASE= 1
12PKG_MD5SUM= 42e9402f942849afb44670309ece72b1
13PKG_SOURCE_URL= http://www.freewrt.org/distfiles/
14WRKSRC= ${WRKDIR}/${PKG_NAME}
15
16include $(TOPDIR)/mk/package.mk
17
18$(eval $(call PKG_template,ED,ed,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
19
20$(WRKBUILD)/.configured:
21 touch $@
22
23CFLAGS= ${TARGET_CFLAGS} ${TARGET_CPPFLAGS} -I${STAGING_DIR}/usr/include
24
25$(WRKBUILD)/.built:
26 cd ${WRKBUILD} && ${TARGET_CC} ${CFLAGS} -DBACKWARDS \
27 ${TARGET_LDFLAGS} -L${STAGING_DIR}/usr/lib \
28 -o ed buf.c cbc.c glbl.c io.c main.c re.c sub.c undo.c
29 touch $@
30
31$(IPKG_ED):
32 $(INSTALL_DIR) $(IDIR_ED)/bin
33 $(INSTALL_BIN) $(WRKBUILD)/ed $(IDIR_ED)/bin/ed
34 $(RSTRIP) $(IDIR_ED)
35 $(IPKG_BUILD) $(IDIR_ED) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.