source: freewrt/package/ptunnel/Makefile@ ca629a6

freewrt_1_0 freewrt_2_0
Last change on this file since ca629a6 was 9f572e3, checked in by Dirk Nehring <dnehring@…>, 19 years ago

drop --enable-largefile from makefiles. 2GB should be enough in most cases

git-svn-id: svn://www.freewrt.org/branches/freewrt_1_0@975 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1.8 KB
Line 
1# $FreeWRT$
2#-
3# This file is part of the FreeWRT project. FreeWRT is copyrighted
4# material, please see the LICENCE file in the top-level directory
5# or at http://www.freewrt.org/licence for details.
6
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:= ptunnel
10PKG_VERSION:= 0.61
11PKG_RELEASE:= 1
12PKG_MD5SUM:= b45f73875f2af48f101816672f83a5fe
13
14PKG_SOURCE_URL:= http://www.cti.ecp.fr/~beauxir5/ptunnel/
15PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
16
17include $(TOPDIR)/mk/package.mk
18
19$(eval $(call PKG_template,PTUNNEL,ptunnel,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
20
21$(WRKBUILD)/.configured:
22 (cd $(WRKBUILD); rm -rf config.{cache,status} ; \
23 BUILD_CC=$(TARGET_CC) \
24 HOSTCC=$(HOSTCC) \
25 $(TARGET_CONFIGURE_OPTS) \
26 CFLAGS="$(TARGET_CFLAGS)" \
27 CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
28 LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
29 ac_cv_linux_vers=2 \
30 td_cv_buggygetaddrinfo="no" \
31 ./configure \
32 --target=$(GNU_TARGET_NAME) \
33 --host=$(GNU_TARGET_NAME) \
34 --build=$(GNU_HOST_NAME) \
35 --program-prefix="" \
36 --program-suffix="" \
37 --prefix=/usr \
38 --exec-prefix=/usr \
39 --bindir=/usr/bin \
40 --datadir=/usr/share \
41 --includedir=/usr/include \
42 --infodir=/usr/share/info \
43 --libdir=/usr/lib \
44 --libexecdir=/usr/lib \
45 --localstatedir=/var \
46 --mandir=/usr/share/man \
47 --sbindir=/usr/sbin \
48 --sysconfdir=/etc \
49 --disable-nls \
50 --enable-shared \
51 --disable-static \
52 --with-gnu-ld \
53 );
54 touch $@
55
56$(WRKBUILD)/.built:
57 rm -rf $(WRKINST)
58 mkdir -p $(WRKINST)
59 $(MAKE) -C $(WRKBUILD) \
60 DESTDIR="$(WRKINST)" \
61 all install
62 touch $@
63
64$(IPKG_PTUNNEL):
65 install -m0755 -d $(IDIR_PTUNNEL)/usr/sbin
66 $(CP) $(WRKINST)/usr/sbin/ptunnel $(IDIR_PTUNNEL)/usr/sbin/
67 $(RSTRIP) $(IDIR_PTUNNEL)
68 $(IPKG_BUILD) $(IDIR_PTUNNEL) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.