source: freewrt/package/strace/Makefile@ 021d11b

freewrt_1_0 freewrt_2_0
Last change on this file since 021d11b 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.5 KB
Line 
1# $Id: Makefile 3112 2006-02-01 23:53:19Z mbm $
2
3include $(TOPDIR)/rules.mk
4
5PKG_NAME:=strace
6PKG_VERSION:=4.5.11
7PKG_RELEASE:=1
8PKG_MD5SUM:=28335e15c83456a3db055a0a0efcb4fe
9
10PKG_SOURCE_URL:=@SF/strace
11PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
12PKG_CAT:=bzcat
13
14PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
15
16include $(TOPDIR)/package/rules.mk
17
18$(eval $(call PKG_template,STRACE,strace,$(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 CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
25 LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
26 ./configure \
27 --target=$(GNU_TARGET_NAME) \
28 --host=$(GNU_TARGET_NAME) \
29 --build=$(GNU_HOST_NAME) \
30 --program-prefix="" \
31 --program-suffix="" \
32 --prefix=/usr \
33 --exec-prefix=/usr \
34 --bindir=/usr/bin \
35 --datadir=/usr/share \
36 --includedir=/usr/include \
37 --infodir=/usr/share/info \
38 --libdir=/usr/lib \
39 --libexecdir=/usr/lib \
40 --localstatedir=/var \
41 --mandir=/usr/share/man \
42 --sbindir=/usr/sbin \
43 --sysconfdir=/etc \
44 --disable-nls \
45 --enable-largefile \
46 );
47 touch $@
48
49$(PKG_BUILD_DIR)/.built:
50 $(MAKE) -C $(PKG_BUILD_DIR) \
51 CC=$(TARGET_CC)
52 touch $@
53
54$(IPKG_STRACE):
55 mkdir -p $(IDIR_STRACE)/usr/sbin
56 $(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(IDIR_STRACE)/usr/sbin/
57 $(STRIP) $(IDIR_STRACE)/usr/sbin/*
58 $(IPKG_BUILD) $(IDIR_STRACE) $(PACKAGE_DIR)
59
60mostlyclean:
61 $(MAKE) -C $(PKG_BUILD_DIR) clean
62 rm -f $(PKG_BUILD_DIR)/.built
Note: See TracBrowser for help on using the repository browser.