source: freewrt/package/arpd/Makefile@ 11aebd0

freewrt_1_0 freewrt_2_0
Last change on this file since 11aebd0 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.6 KB
Line 
1# $Id: Makefile 3112 2006-02-01 23:53:19Z mbm $
2
3include $(TOPDIR)/rules.mk
4
5PKG_NAME:=arpd
6PKG_VERSION:=0.2
7PKG_RELEASE:=1
8PKG_MD5SUM:=e2911fa9de1b92ef50deda1489ae944d
9
10PKG_SOURCE_URL:=http://niels.xtdnet.nl/honeyd
11PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
12PKG_CAT:=zcat
13PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
14
15include $(TOPDIR)/package/rules.mk
16
17$(eval $(call PKG_template,ARPD,arpd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
18
19$(PKG_BUILD_DIR)/.configured:
20 (cd $(PKG_BUILD_DIR); rm -rf config.cache; \
21 $(TARGET_CONFIGURE_OPTS) \
22 CFLAGS="$(TARGET_CFLAGS)" \
23 CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
24 LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
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/bin \
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 --disable-nls \
44 --enable-largefile \
45 --enable-shared \
46 --disable-static \
47 --with-libdnet=$(STAGING_DIR)/usr \
48 --with-libevent=$(STAGING_DIR)/usr \
49 --with-libpcap=$(STAGING_DIR)/usr \
50 );
51 touch $@
52
53$(PKG_BUILD_DIR)/.built:
54 $(MAKE) -C $(PKG_BUILD_DIR) \
55 CCOPT="$(TARGET_CFLAGS)" \
56 INCLS="-I. -I$(STAGING_DIR)/usr/include" \
57 LIBS="-L$(STAGING_DIR)/usr/lib -lpcap -ldnet -levent"
58 touch $@
59
60$(IPKG_ARPD):
61 mkdir -p $(IDIR_ARPD)/usr/sbin
62 $(CP) $(PKG_BUILD_DIR)/arpd $(IDIR_ARPD)/usr/sbin/
63 $(STRIP) $(IDIR_ARPD)/usr/sbin/*
64 $(IPKG_BUILD) $(IDIR_ARPD) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.