freewrt_1_0
freewrt_2_0
|
Last change
on this file since c8b93bd was c8b93bd, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago |
|
major package Makefile cleanup. remove mostly-clean, add licence header, always use RSTRIP varibale for stripping, rename some init scripts, indent
git-svn-id: svn://www.freewrt.org/trunk/freewrt@600 afb5a338-a214-0410-bd46-81f09a774fd1
|
-
Property mode
set to
100644
|
|
File size:
870 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 |
|
|---|
| 7 | include $(TOPDIR)/rules.mk
|
|---|
| 8 |
|
|---|
| 9 | PKG_NAME:= pipacs
|
|---|
| 10 | PKG_RELEASE:= 2
|
|---|
| 11 |
|
|---|
| 12 | WRKSRC= ${WRKDIR}/$(PKG_NAME)
|
|---|
| 13 | DISTFILES:=
|
|---|
| 14 |
|
|---|
| 15 | include $(TOPDIR)/mk/package.mk
|
|---|
| 16 |
|
|---|
| 17 | $(eval $(call PKG_template,PIPACS,pipacs,$(PKG_RELEASE),$(ARCH)))
|
|---|
| 18 |
|
|---|
| 19 | $(WRKBUILD)/.prepared:
|
|---|
| 20 | mkdir -p $(WRKBUILD)
|
|---|
| 21 | $(CP) ./src/* $(WRKBUILD)
|
|---|
| 22 | touch $@
|
|---|
| 23 |
|
|---|
| 24 | $(WRKBUILD)/.configured:
|
|---|
| 25 | touch $@
|
|---|
| 26 |
|
|---|
| 27 | $(WRKBUILD)/.built:
|
|---|
| 28 | $(MAKE) -C $(WRKBUILD) \
|
|---|
| 29 | $(TARGET_CONFIGURE_OPTS) \
|
|---|
| 30 | CFLAGS="$(TARGET_CFLAGS) -I $(STAGING_DIR)/usr/include" \
|
|---|
| 31 | all
|
|---|
| 32 | touch $@
|
|---|
| 33 |
|
|---|
| 34 | $(IPKG_PIPACS):
|
|---|
| 35 | mkdir -p $(IDIR_PIPACS)/usr/bin
|
|---|
| 36 | install -m0755 $(WRKBUILD)/pipacs $(IDIR_PIPACS)/usr/bin
|
|---|
| 37 | $(RSTRIP) $(IDIR_PIPACS)
|
|---|
| 38 | $(IPKG_BUILD) $(IDIR_PIPACS) $(PACKAGE_DIR)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.