source: freewrt/package/webif/Makefile@ 25b04b2

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

unbreak this package
XXX markus@ is this correct?

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

  • Property mode set to 100644
File size: 1.0 KB
Line 
1# $Id: Makefile 3201 2006-02-09 08:59:52Z nbd $
2
3include $(TOPDIR)/rules.mk
4
5PKG_NAME:=webif
6PKG_VERSION:=0.2
7PKG_RELEASE:=1
8
9
10include $(TOPDIR)/package/rules.mk
11
12$(eval $(call PKG_template,WEBIF,webif,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
13
14$(WRKBUILD)/.prepared:
15 mkdir -p ${WRKBUILD}
16 touch $@
17
18$(WRKBUILD)/.configured:
19 touch $@
20
21$(WRKBUILD)/.built:
22 $(TARGET_CC) $(TARGET_CFLAGS) -o $(WRKBUILD)/webif-page src/webif-page.c
23 $(TARGET_CC) $(TARGET_CFLAGS) -o $(WRKBUILD)/bstrip src/bstrip.c
24 $(STRIP) $(WRKBUILD)/webif-page $(WRKBUILD)/bstrip
25 touch $@
26
27$(IPKG_WEBIF):
28 cp -a ./files/www ./files/usr $(IDIR_WEBIF)/
29 install -d $(IDIR_WEBIF)/usr/bin
30 install -m0755 $(WRKBUILD)/webif-page $(IDIR_WEBIF)/usr/bin/webif-page
31 install -m0755 $(WRKBUILD)/bstrip $(IDIR_WEBIF)/usr/bin/bstrip
32 install -d $(IDIR_WEBIF)/etc/init.d
33 install -m0755 ./files/S50httpd $(IDIR_WEBIF)/etc/init.d/S50httpd
34 find $(IDIR_WEBIF) -name CVS | xargs rm -rf
35 find $(IDIR_WEBIF) -name .svn | xargs rm -rf
36 $(IPKG_BUILD) $(IDIR_WEBIF) $(PACKAGE_DIR)
37
Note: See TracBrowser for help on using the repository browser.