add missing pg_config.h header to staging_dir, required to build php5 extension
[openwrt.git] / package / bwm / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=bwm
6 PKG_VERSION:=1.1.0
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=51021a036acb92d2bda0c0c0483f9552
9
10 PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/b/bwm
11 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
12 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION).orig
13 PKG_CAT:=zcat
14
15 include $(TOPDIR)/package/rules.mk
16
17 $(eval $(call PKG_template,BWM,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
18
19 $(PKG_BUILD_DIR)/.configured:
20 touch $@
21
22 $(PKG_BUILD_DIR)/.built:
23 $(TARGET_CC) $(TARGET_CFLAGS) $(PKG_BUILD_DIR)/bwm.c -o $(PKG_BUILD_DIR)/bwm
24 touch $@
25
26 $(IPKG_BWM):
27 mkdir -p $(IDIR_BWM)/usr/bin
28 install -m 755 $(PKG_BUILD_DIR)/$(PKG_NAME) $(IDIR_BWM)/usr/bin/
29 $(STRIP) $(IDIR_BWM)/usr/bin/*
30 $(IPKG_BUILD) $(IDIR_BWM) $(PACKAGE_DIR)
This page took 0.037976 seconds and 5 git commands to generate.