add madplay package (thanks to Romain Beauxis),
[openwrt.git] / package / l2tpns / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=l2tpns
4 PKG_VERSION:=2.1.14
5 PKG_RELEASE:=1
6 PKG_MD5SUM:=2a0ee2a3678160c335f1d68c17c4f871
7 PKG_SOURCE_URL:=@SF/L2TPNS
8 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
9 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
10 PKG_CAT:=zcat
11
12 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
13
14 include $(TOPDIR)/package/rules.mk
15
16 $(eval $(call PKG_template,L2TPNS,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
17
18 $(PKG_BUILD_DIR)/.configured:
19 touch $@
20
21 $(PKG_BUILD_DIR)/.built:
22 $(MAKE) CC=$(TARGET_CC) LD=$(TARGET_CC) DESTDIR=$(PKG_INSTALL_DIR) STAGING_DIR=$(STAGING_DIR) -C $(PKG_BUILD_DIR) install
23 touch $@
24
25 $(IPKG_L2TPNS):
26 mkdir -p $(IDIR_L2TPNS)
27 cp -fpR $(PKG_INSTALL_DIR)/* $(IDIR_L2TPNS)/
28 $(RSTRIP) $(IDIR_L2TPNS)
29 $(IPKG_BUILD) $(IDIR_L2TPNS) $(PACKAGE_DIR)
This page took 0.042939 seconds and 5 git commands to generate.