source: freewrt/package/raddump/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 100755
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:=raddump
6PKG_VERSION:=0.3.1
7PKG_RELEASE:=1
8PKG_MD5SUM:=f8c29c67141ea78bb6ae8b97d5149480
9PKG_SOURCE_URL:=@SF/raddump
10PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
11PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
12PKG_CAT:=zcat
13
14PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
15
16include $(TOPDIR)/package/rules.mk
17
18$(eval $(call PKG_template,RADDUMP,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
19
20$(PKG_BUILD_DIR)/.configured:
21 (cd $(PKG_BUILD_DIR); rm -rf config.cache; \
22 $(TARGET_CONFIGURE_OPTS) \
23 CFLAGS="$(TARGET_CFLAGS)" \
24 ./configure \
25 ac_cv_c_bigendian=no \
26 ac_cv_func_malloc_0_nonnull=yes \
27 ac_cv_func_realloc_0_nonnull=yes \
28 --disable-nls \
29 --target=$(GNU_TARGET_NAME) \
30 --host=$(GNU_TARGET_NAME) \
31 --build=$(GNU_HOST_NAME) \
32 --prefix=/usr \
33 --exec-prefix=/usr \
34 --bindir=/usr/bin \
35 --sbindir=/usr/sbin \
36 --libexecdir=/usr/lib \
37 --sysconfdir=/etc \
38 --datadir=/usr/share \
39 --localstatedir=/var \
40 --mandir=/usr/man \
41 --infodir=/usr/info \
42 --program-prefix="" \
43 --with-gnu-ld \
44 );
45 touch $@
46
47$(PKG_BUILD_DIR)/.built:
48 $(MAKE) DESTDIR=$(PKG_INSTALL_DIR) -C $(PKG_BUILD_DIR) install
49 touch $@
50
51$(IPKG_RADDUMP):
52 mkdir -p $(IDIR_RADDUMP)
53 $(CP) $(PKG_INSTALL_DIR)/* $(IDIR_RADDUMP)/
54 $(RSTRIP) $(IDIR_RADDUMP)
55 $(IPKG_BUILD) $(IDIR_RADDUMP) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.