diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rwxr-xr-x | run_me | 24 |
2 files changed, 24 insertions, 1 deletions
@@ -23,4 +23,3 @@ depcomp install-sh local_prefix/ missing -run_me @@ -0,0 +1,24 @@ +#!/bin/sh + +set -e +P=${PWD}/local_prefix + + +mkdir -p ${P} + +if [ ! -f e2fsprogs/Makefile ]; then +(cd e2fsprogs && ./configure --disable-elf-shlibs --disable-bsd-shlibs --prefix=${P} ) +fi + +for i in lib/et lib/ext2fs lib/e2p; do +(cd e2fsprogs && make -C $i ) +(cd e2fsprogs && make -C $i install ) +done + +EXT2FS_LIBS=${P}/lib/libext2fs.a \ +EXT2FS_CFLAGS=-I${P}/include \ +E2P_LIBS=${P}/lib/libe2p.a \ +E2P_CFLAGS=-I${P}/include \ +COM_ERR_LIBS="${P}/lib/libcom_err.a -lpthread" \ +COM_ERR_CFLAGS=-I${P}/include \ +./configure |