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.4 KB
|
| Line | |
|---|
| 1 | # $Id: Makefile 3112 2006-02-01 23:53:19Z mbm $
|
|---|
| 2 |
|
|---|
| 3 | include $(TOPDIR)/rules.mk
|
|---|
| 4 |
|
|---|
| 5 | PKG_NAME:=6tunnel
|
|---|
| 6 | PKG_VERSION:=0.11rc1
|
|---|
| 7 | PKG_RELEASE:=1
|
|---|
| 8 | PKG_MD5SUM:=b325fa9d238e32195fbb3fc3646b0d28
|
|---|
| 9 |
|
|---|
| 10 | PKG_SOURCE_URL:=http://toxygen.net/6tunnel/
|
|---|
| 11 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|---|
| 12 |
|
|---|
| 13 | WRKSRC:=${WRKDIR}/$(PKG_NAME)-0.11
|
|---|
| 14 |
|
|---|
| 15 | include $(TOPDIR)/package/rules.mk
|
|---|
| 16 |
|
|---|
| 17 | $(eval $(call PKG_template,6TUNNEL,6tunnel,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|---|
| 18 |
|
|---|
| 19 | $(WRKBUILD)/.configured:
|
|---|
| 20 | (cd $(WRKBUILD); rm -rf config.{cache,status}; \
|
|---|
| 21 | $(TARGET_CONFIGURE_OPTS) \
|
|---|
| 22 | CFLAGS="$(TARGET_CFLAGS)" \
|
|---|
| 23 | ac_cv_path_STRIP=$(STRIP) \
|
|---|
| 24 | ac_cv_func_vsnprintf=yes \
|
|---|
| 25 | ./configure \
|
|---|
| 26 | --target=$(GNU_TARGET_NAME) \
|
|---|
| 27 | --host=$(GNU_TARGET_NAME) \
|
|---|
| 28 | --build=$(GNU_HOST_NAME) \
|
|---|
| 29 | --program-prefix="" \
|
|---|
| 30 | --program-suffix="" \
|
|---|
| 31 | --prefix=/usr \
|
|---|
| 32 | --exec-prefix=/usr \
|
|---|
| 33 | --bindir=/usr/sbin \
|
|---|
| 34 | --datadir=/usr/share \
|
|---|
| 35 | --includedir=/usr/include \
|
|---|
| 36 | --infodir=/usr/share/info \
|
|---|
| 37 | --libdir=/usr/lib \
|
|---|
| 38 | --libexecdir=/usr/lib \
|
|---|
| 39 | --localstatedir=/var \
|
|---|
| 40 | --mandir=/usr/share/man \
|
|---|
| 41 | --sbindir=/usr/sbin \
|
|---|
| 42 | --sysconfdir=/etc \
|
|---|
| 43 | --enable-largefile \
|
|---|
| 44 | --disable-nls \
|
|---|
| 45 | );
|
|---|
| 46 | touch $@
|
|---|
| 47 |
|
|---|
| 48 | $(WRKBUILD)/.built:
|
|---|
| 49 | $(MAKE) -C $(WRKBUILD) \
|
|---|
| 50 | default
|
|---|
| 51 | touch $@
|
|---|
| 52 |
|
|---|
| 53 | $(IPKG_6TUNNEL):
|
|---|
| 54 | install -d -m0755 $(IDIR_6TUNNEL)/usr/sbin
|
|---|
| 55 | $(CP) $(WRKBUILD)/6tunnel $(IDIR_6TUNNEL)/usr/sbin/
|
|---|
| 56 | $(RSTRIP) $(IDIR_6TUNNEL)/
|
|---|
| 57 | $(IPKG_BUILD) $(IDIR_6TUNNEL) $(PACKAGE_DIR)
|
|---|
| 58 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.