source: freewrt/package/e2fsprogs/Makefile@ 621d5d2

freewrt_2_0
Last change on this file since 621d5d2 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: 2.0 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:= e2fsprogs
10PKG_VERSION:= 1.38
11PKG_RELEASE:= 2
12PKG_MD5SUM:= d774d4412bfb80d12cf3a4fdfd59de5a
13
14PKG_SOURCE_URL:= @SF/e2fsprogs
15
16include $(TOPDIR)/mk/package.mk
17
18$(eval $(call PKG_template,E2FSPROGS,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
19
20$(WRKBUILD)/.configured:
21 (cd $(WRKBUILD); rm -rf config.{cache,status}; \
22 $(TARGET_CONFIGURE_OPTS) \
23 CFLAGS="$(TARGET_CFLAGS)" \
24 CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
25 LDFLAGS="-L$(STAGING_DIR)/lib -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=/sbin \
43 --sysconfdir=/etc \
44 --disable-nls \
45 --enable-shared \
46 --enable-static \
47 --disable-rpath \
48 --with-gnu-ld \
49 --enable-elf-shlibs \
50 --enable-dynamic-e2fsck \
51 );
52 touch $@
53
54$(WRKBUILD)/.built:
55 rm -rf $(WRKINST)
56 mkdir -p $(WRKINST)
57 $(MAKE) -C $(WRKBUILD)/util \
58 BUILDCC="$(HOSTCC)" \
59 CFLAGS="" \
60 subst
61 $(MAKE) -C $(WRKBUILD) \
62 BUILDCC="$(HOSTCC)" \
63 DESTDIR="$(WRKINST)" \
64 all install
65 touch $@
66
67$(IPKG_E2FSPROGS):
68 mkdir -p $(IDIR_E2FSPROGS)/sbin
69 $(CP) $(WRKINST)/sbin/e2fsck $(IDIR_E2FSPROGS)/sbin/
70 $(CP) $(WRKINST)/sbin/mke2fs $(IDIR_E2FSPROGS)/sbin/
71 $(CP) $(WRKINST)/sbin/tune2fs $(IDIR_E2FSPROGS)/sbin/
72 mkdir -p $(IDIR_E2FSPROGS)/usr/lib
73 $(CP) $(WRKINST)/usr/lib/lib{blkid,com_err,e2p,ext2fs,uuid}.so.* $(IDIR_E2FSPROGS)/usr/lib/
74 $(RSTRIP) $(IDIR_E2FSPROGS)
75 $(IPKG_BUILD) $(IDIR_E2FSPROGS) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.