source: freewrt/package/pipacs/Makefile@ 8e47882

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

this is what you people get for using := ...

also fix some indentation while here

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

  • Property mode set to 100644
File size: 716 bytes
Line 
1# $Id: Makefile 3112 2006-02-01 23:53:19Z mbm $
2
3include $(TOPDIR)/rules.mk
4
5PKG_NAME:=pipacs
6PKG_RELEASE:=2
7
8WRKSRC= ${WRKDIR}/$(PKG_NAME)
9
10DISTFILES:=
11include $(TOPDIR)/package/rules.mk
12
13$(eval $(call PKG_template,PIPACS,pipacs,$(PKG_RELEASE),$(ARCH)))
14
15$(WRKBUILD)/.prepared:
16 mkdir -p $(WRKBUILD)
17 $(CP) ./src/* $(WRKBUILD)
18 touch $@
19
20$(WRKBUILD)/.configured:
21 touch $@
22
23$(WRKBUILD)/.built:
24 $(MAKE) -C $(WRKBUILD) \
25 $(TARGET_CONFIGURE_OPTS) \
26 CFLAGS="$(TARGET_CFLAGS) -I $(STAGING_DIR)/usr/include" \
27 all
28 touch $@
29
30$(IPKG_PIPACS):
31 mkdir -p $(IDIR_PIPACS)/usr/bin
32 install -m0755 $(WRKBUILD)/pipacs $(IDIR_PIPACS)/usr/bin
33 $(RSTRIP) $(IDIR_PIPACS)
34 $(IPKG_BUILD) $(IDIR_PIPACS) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.