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