Add extra informations for iptables-mod-* ipk's in Config.in
[openwrt.git] / openwrt / package / l2tpd / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=l2tpd
6 PKG_VERSION:=0.70pre
7 PKG_UPSTREAM_VERSION:=0.70-pre20031121
8 PKG_RELEASE:=2.1
9 PKG_MD5SUM:=3f2707b6e16a8cb72e7bf64f574202fa
10
11 PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/l/l2tpd
12 PKG_SOURCE:=$(PKG_NAME)_$(PKG_UPSTREAM_VERSION).orig.tar.gz
13 PKG_CAT:=zcat
14
15 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_UPSTREAM_VERSION).orig
16 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
17
18 include $(TOPDIR)/package/rules.mk
19
20 $(eval $(call PKG_template,L2TPD,l2tpd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
21
22 $(PKG_BUILD_DIR)/.configured:
23 touch $@
24
25 $(PKG_BUILD_DIR)/.built:
26 $(MAKE) -C $(PKG_BUILD_DIR) \
27 $(TARGET_CONFIGURE_OPTS) \
28 CC=$(TARGET_CC) \
29 CFLAGS="$(TARGET_CFLAGS) -I. -DLINUX -DSANITY -DIP_ALLOCATION"
30 touch $@
31
32 $(IPKG_L2TPD):
33 install -d -m0755 $(IDIR_L2TPD)/etc/l2tpd
34 install -m0644 ./files/l2tpd.conf $(IDIR_L2TPD)/etc/l2tpd/
35 install -d -m0755 $(IDIR_L2TPD)/etc/ppp
36 install -m0644 ./files/options.l2tpd $(IDIR_L2TPD)/etc/ppp/
37 install -d -m0755 $(IDIR_L2TPD)/etc/init.d
38 install -m0755 ./files/l2tpd.init $(IDIR_L2TPD)/etc/init.d/l2tpd
39 install -d -m0755 $(IDIR_L2TPD)/usr/sbin
40 install -m0755 $(PKG_BUILD_DIR)/$(PKG_NAME) $(IDIR_L2TPD)/usr/sbin/
41 $(RSTRIP) $(IDIR_L2TPD)
42 $(IPKG_BUILD) $(IDIR_L2TPD) $(PACKAGE_DIR)
43
This page took 0.040437 seconds and 5 git commands to generate.