add pipacs package (thanks to Janos)
[openwrt.git] / package / pipacs / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=pipacs
6 PKG_RELEASE:=2
7
8 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
9
10 include $(TOPDIR)/package/rules.mk
11
12 $(eval $(call PKG_template,PIPACS,pipacs,$(PKG_RELEASE),$(ARCH)))
13
14 $(PKG_BUILD_DIR)/.prepared:
15 mkdir -p $(PKG_BUILD_DIR)
16 cp -a ./src/* $(PKG_BUILD_DIR)
17 touch $@
18
19 $(PKG_BUILD_DIR)/.configured:
20 touch $@
21
22 $(PKG_BUILD_DIR)/.built:
23 $(MAKE) -C $(PKG_BUILD_DIR) \
24 $(TARGET_CONFIGURE_OPTS) \
25 CFLAGS="$(TARGET_CFLAGS) -I $(STAGING_DIR)/usr/include" \
26 all
27 touch $@
28
29 $(IPKG_PIPACS):
30 mkdir -p $(IDIR_PIPACS)/usr/bin
31 install -m0755 $(PKG_BUILD_DIR)/pipacs $(IDIR_PIPACS)/usr/bin
32 $(RSTRIP) $(IDIR_PIPACS)
33 $(IPKG_BUILD) $(IDIR_PIPACS) $(PACKAGE_DIR)
This page took 0.053926 seconds and 5 git commands to generate.