source: freewrt/package/ptunnel/Makefile@ 428f140

freewrt_1_0 freewrt_2_0
Last change on this file since 428f140 was c57fbc9, checked in by Thorsten Glaser <tg@…>, 19 years ago

nuke DISABLE_NLS, DISABLE_LARGEFILE, replace globally
with --disable-nls and --enable-largefile, because it
doesn't make sense otherwise and/or breaks.

Requested by wbx@ in Message-ID: <20060618220406.GL6291@…>
Done using find and ed(1)

git-svn-id: svn://www.freewrt.org/trunk/freewrt@152 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1.8 KB
Line 
1# $Id: Makefile 3112 2006-02-01 23:53:19Z mbm $
2
3include $(TOPDIR)/rules.mk
4
5PKG_NAME:=ptunnel
6PKG_VERSION:=0.61
7PKG_RELEASE:=1
8PKG_MD5SUM:=b45f73875f2af48f101816672f83a5fe
9
10PKG_SOURCE_URL:=http://www.cti.ecp.fr/~beauxir5/ptunnel/
11PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
12PKG_CAT:=zcat
13
14PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
15PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
16
17include $(TOPDIR)/package/rules.mk
18
19$(eval $(call PKG_template,PTUNNEL,ptunnel,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
20
21$(PKG_BUILD_DIR)/.configured:
22 (cd $(PKG_BUILD_DIR); 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 --enable-largefile \
50 --disable-nls \
51 --enable-shared \
52 --disable-static \
53 --with-gnu-ld \
54 );
55 touch $@
56
57$(PKG_BUILD_DIR)/.built:
58 rm -rf $(PKG_INSTALL_DIR)
59 mkdir -p $(PKG_INSTALL_DIR)
60 $(MAKE) -C $(PKG_BUILD_DIR) \
61 DESTDIR="$(PKG_INSTALL_DIR)" \
62 all install
63 touch $@
64
65$(IPKG_PTUNNEL):
66 install -m0755 -d $(IDIR_PTUNNEL)/usr/sbin
67 $(CP) $(PKG_INSTALL_DIR)/usr/sbin/ptunnel $(IDIR_PTUNNEL)/usr/sbin/
68 $(RSTRIP) $(IDIR_PTUNNEL)
69 $(IPKG_BUILD) $(IDIR_PTUNNEL) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.