mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-30 21:52:25 +02:00
82daa5e9c0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3112 3c298f89-4303-0410-b956-a3cf2f4a3e73
34 lines
706 B
Makefile
34 lines
706 B
Makefile
# $Id$
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=pipacs
|
|
PKG_RELEASE:=2
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
|
|
|
include $(TOPDIR)/package/rules.mk
|
|
|
|
$(eval $(call PKG_template,PIPACS,pipacs,$(PKG_RELEASE),$(ARCH)))
|
|
|
|
$(PKG_BUILD_DIR)/.prepared:
|
|
mkdir -p $(PKG_BUILD_DIR)
|
|
$(CP) ./src/* $(PKG_BUILD_DIR)
|
|
touch $@
|
|
|
|
$(PKG_BUILD_DIR)/.configured:
|
|
touch $@
|
|
|
|
$(PKG_BUILD_DIR)/.built:
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
$(TARGET_CONFIGURE_OPTS) \
|
|
CFLAGS="$(TARGET_CFLAGS) -I $(STAGING_DIR)/usr/include" \
|
|
all
|
|
touch $@
|
|
|
|
$(IPKG_PIPACS):
|
|
mkdir -p $(IDIR_PIPACS)/usr/bin
|
|
install -m0755 $(PKG_BUILD_DIR)/pipacs $(IDIR_PIPACS)/usr/bin
|
|
$(RSTRIP) $(IDIR_PIPACS)
|
|
$(IPKG_BUILD) $(IDIR_PIPACS) $(PACKAGE_DIR)
|