source: freewrt/package/mypackage/Makefile@ 621d5d2

freewrt_2_0
Last change on this file since 621d5d2 was abfe6dd, checked in by Markus Wigge <markus@…>, 17 years ago

damn, its's too late already...

git-svn-id: svn://www.freewrt.org/branches/freewrt_1_0@3790 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1.1 KB
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:= mypackage
10PKG_RELEASE:= 1
11
12WRKSRC= ${WRKDIR}/$(PKG_NAME)
13DISTFILES:=
14
15include $(TOPDIR)/mk/package.mk
16
17IDIR_MYPACKAGE:=$(WRKBUILD)/$(PKG_NAME)
18IPKG_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
40compile-targets: $(IPKG_MYPACKAGE)
41install-targets: compile
42 $(IPKG) install $(IPKG_MYPACKAGE)
Note: See TracBrowser for help on using the repository browser.