fix static domain wildcards in dnsmasq (broken by upgrade to 2.26)
[openwrt.git] / package / amwall / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=amwall
6 PKG_VERSION:=0.1.0
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=a8b6438e7fd9ccadc9f68824ae62349c
9
10 PKG_SOURCE_URL:=ftp://ftp.amselinux.net/source/
11 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
12 PKG_CAT:=bzcat
13
14 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
15 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
16
17 include $(TOPDIR)/package/rules.mk
18
19 $(eval $(call PKG_template,AMWALL,amwall,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
20
21 $(PKG_BUILD_DIR)/.configured:
22 touch $@
23
24 $(PKG_BUILD_DIR)/.built:
25 rm -rf $(PKG_INSTALL_DIR)
26 mkdir -p $(PKG_INSTALL_DIR)
27 $(MAKE) -C $(PKG_BUILD_DIR) \
28 $(TARGET_CONFIGURE_OPTS) \
29 V= \
30 LDIR=$(PKG_BUILD_DIR) \
31 AMSEL_INCLUDE="$(STAGING_DIR)/usr/include" \
32 OPT_LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
33 PREFIX="/usr" \
34 CONFIG="$(PKG_BUILD_DIR)/etc/amsel" \
35 DESTDIR=$(PKG_INSTALL_DIR) \
36 all install
37 touch $@
38
39 $(IPKG_AMWALL):
40 install -d -m0755 $(IDIR_AMWALL)/usr/bin
41 $(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(IDIR_AMWALL)/usr/bin
42 install -d -m0755 $(IDIR_AMWALL)/usr/sbin
43 $(CP) $(PKG_INSTALL_DIR)/usr/sbin/* $(IDIR_AMWALL)/usr/sbin
44 install -d -m0755 $(IDIR_AMWALL)/etc/amsel
45 $(CP) $(PKG_INSTALL_DIR)/etc/amsel* $(IDIR_AMWALL)/etc
46 $(RSTRIP) $(IDIR_AMWALL)
47 $(IPKG_BUILD) $(IDIR_AMWALL) $(PACKAGE_DIR)
48
This page took 0.043847 seconds and 5 git commands to generate.