English Language flag
// Log In
// CVSweb
Project: FreeWRT
// Summary // Activity // Search // Tracker // Lists // News // SCM // Wiki

SCM Repository

ViewVC logotype

Contents of /branches/freewrt_1_0/package/mypackage/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3790 - (show annotations) (download)
Tue Aug 26 20:34:26 2008 UTC (5 years, 5 months ago) by markus
File size: 1119 byte(s)
damn, its's too late already...
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:= mypackage
10 PKG_RELEASE:= 1
11
12 WRKSRC= ${WRKDIR}/$(PKG_NAME)
13 DISTFILES:=
14
15 include $(TOPDIR)/mk/package.mk
16
17 IDIR_MYPACKAGE:=$(WRKBUILD)/$(PKG_NAME)
18 IPKG_MYPACKAGE:=$(PACKAGE_DIR)/mypackage_$(PKG_RELEASE)_$(ARCH).ipk
19
20 $(WRKBUILD)/.prepared:
21 mkdir -p $(WRKBUILD)
22 touch $@
23
24 $(WRKBUILD)/.configured:
25 touch $@
26
27 $(WRKBUILD)/.built:
28 touch $@
29
30 $(IPKG_MYPACKAGE):
31 mkdir -p $(IDIR_MYPACKAGE)
32 $(SCRIPT_DIR)/make-ipkg-dir.sh $(IDIR_MYPACKAGE) ipkg/$(PKG_NAME).control $(PKG_RELEASE) $(ARCH)
33 # uncomment and copy your own stuff to files
34 #$(CP) ./files/* $(IDIR_MYPACKAGE)
35 -find $(IDIR_MYPACKAGE) -type d -name CVS | xargs rm -rf
36 -find $(IDIR_MYPACKAGE) -type d -name .svn | xargs rm -rf
37 -find $(IDIR_MYPACKAGE) -name '.#*' | xargs rm -f
38 $(IPKG_BUILD) $(IDIR_MYPACKAGE) $(PACKAGE_DIR)
39
40 compile-targets: $(IPKG_MYPACKAGE)
41 install-targets: compile
42 $(IPKG) install $(IPKG_MYPACKAGE)

root@freewrt.org:443
ViewVC Help
Powered by ViewVC 1.1.20