include Config
PKG_NAME = xfsprogs
-VER = 2.10.1
+VER = 2.10.2
THISAPP = $(PKG_NAME)-$(VER)
-DL_FILE = $(THISAPP)-1.tar.gz
+DL_FILE = $(THISAPP)-1.tar.bz2
DIR_APP = $(DIR_SRC)/$(THISAPP)
OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
# Top-level Rules
###############################################################################
-objects = $(DL_FILE)
+objects = $(DL_FILE) \
+ $(THISAPP)-parallel-build.patch
info:
$(DO_PKG_INFO)
$(OBJECT) :
@$(PREBUILD)
- @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+ @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE)
+ cd $(DIR_APP) && patch -Np2 -i $(DIR_PATCHES)/$(THISAPP)-parallel-build.patch
+ # XXX We compile xfsprogs STATIC at the moment because there is a bug with
+ # installation of the shared libs (may be it is libtool's fault).
cd $(DIR_APP) && DEBUG=-DNDEBUG \
./configure \
$(CONFIGURE_ARCH) \
--sbindir=/sbin \
--libdir=/lib \
--libexecdir=/usr/lib \
- --enable-readline=yes
+ --enable-shared=no
cd $(DIR_APP) && make $(PARALLELISMFLAGS)
cd $(DIR_APP) && make install #install-dev
chmod -v 755 /lib/libhandle.so*