source: freewrt/package/pipacs/Makefile@ 6fc4520e

freewrt_1_0 freewrt_2_0
Last change on this file since 6fc4520e 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
RevLine 
[c8b93bd]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.
[475ad56]6
7include $(TOPDIR)/rules.mk
8
[c8b93bd]9PKG_NAME:= pipacs
10PKG_RELEASE:= 2
[475ad56]11
[c5f2acf]12WRKSRC= ${WRKDIR}/$(PKG_NAME)
[65a5cdb]13DISTFILES:=
[c8b93bd]14
15include $(TOPDIR)/mk/package.mk
[475ad56]16
17$(eval $(call PKG_template,PIPACS,pipacs,$(PKG_RELEASE),$(ARCH)))
18
[d419478]19$(WRKBUILD)/.prepared:
20 mkdir -p $(WRKBUILD)
21 $(CP) ./src/* $(WRKBUILD)
[475ad56]22 touch $@
23
[d419478]24$(WRKBUILD)/.configured:
[475ad56]25 touch $@
26
[d419478]27$(WRKBUILD)/.built:
28 $(MAKE) -C $(WRKBUILD) \
[475ad56]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
[d419478]36 install -m0755 $(WRKBUILD)/pipacs $(IDIR_PIPACS)/usr/bin
[475ad56]37 $(RSTRIP) $(IDIR_PIPACS)
38 $(IPKG_BUILD) $(IDIR_PIPACS) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.