freewrt_1_0
freewrt_2_0
|
Last change
on this file since ed2dd9f was ed2dd9f, checked in by Thorsten Glaser <tg@…>, 19 years ago |
|
instead of setting WRKBUILD, set WRKSRC and let WRKBUILD?=WRKSRC like mirports
(WRKSRC isn't used anywhere though)
git-svn-id: svn://www.freewrt.org/trunk/freewrt@306 afb5a338-a214-0410-bd46-81f09a774fd1
|
-
Property mode
set to
100644
|
|
File size:
1.2 KB
|
| Line | |
|---|
| 1 | # $Id: Makefile 3621 2006-04-12 00:17:43Z nico $
|
|---|
| 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:=4.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 |
|
|---|
| 14 | WRKSRC:=${WRKDIR}/$(PKG_NAME)-$(PKG_UPSTREAM_VERSION).orig
|
|---|
| 15 |
|
|---|
| 16 | include $(TOPDIR)/package/rules.mk
|
|---|
| 17 |
|
|---|
| 18 | $(eval $(call PKG_template,L2TPD,l2tpd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|---|
| 19 |
|
|---|
| 20 | $(WRKBUILD)/.configured:
|
|---|
| 21 | touch $@
|
|---|
| 22 |
|
|---|
| 23 | $(WRKBUILD)/.built:
|
|---|
| 24 | $(MAKE) -C $(WRKBUILD) \
|
|---|
| 25 | $(TARGET_CONFIGURE_OPTS) \
|
|---|
| 26 | CC=$(TARGET_CC) \
|
|---|
| 27 | CFLAGS="$(TARGET_CFLAGS) -I. -DLINUX -DSANITY -DIP_ALLOCATION"
|
|---|
| 28 | touch $@
|
|---|
| 29 |
|
|---|
| 30 | $(IPKG_L2TPD):
|
|---|
| 31 | install -d -m0755 $(IDIR_L2TPD)/etc/l2tpd
|
|---|
| 32 | install -m0644 ./files/l2tpd.conf $(IDIR_L2TPD)/etc/l2tpd/
|
|---|
| 33 | install -d -m0755 $(IDIR_L2TPD)/etc/ppp
|
|---|
| 34 | install -m0644 ./files/options.l2tpd $(IDIR_L2TPD)/etc/ppp/
|
|---|
| 35 | install -d -m0755 $(IDIR_L2TPD)/etc/init.d
|
|---|
| 36 | install -m0755 ./files/l2tpd.init $(IDIR_L2TPD)/etc/init.d/l2tpd
|
|---|
| 37 | install -d -m0755 $(IDIR_L2TPD)/usr/sbin
|
|---|
| 38 | install -m0755 $(WRKBUILD)/$(PKG_NAME) $(IDIR_L2TPD)/usr/sbin/
|
|---|
| 39 | $(RSTRIP) $(IDIR_L2TPD)
|
|---|
| 40 | $(IPKG_BUILD) $(IDIR_L2TPD) $(PACKAGE_DIR)
|
|---|
| 41 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.