Commit 7150cfdb authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Initial commit

parents
all:
tar xf grep-3.1.tar.xz
cd grep-3.1 && ./configure --build=$(CLFS_TARGET) --prefix=/usr --bindir=/bin
$(MAKE) -C grep-3.1
if [[ ! "$(BUILD_OPTIONS)" =~ no-tests ]] ; then \
$(MAKE) -C grep-3.1 check ; \
fi
$(MAKE) -C grep-3.1 install
rm -rf grep-3.1
<project name="grip">
<target name="temporary-grep">
<property name="makedir" value="${builddir}/grep-3.1"/>
<exec executable="tar" failonerror="true">
<arg line="xf packages/grep/grep-3.1.tar.xz -C ${builddir}"/>
</exec>
<exec executable="./configure" dir="${makedir}" failonerror="true">
<env key="PATH" path="${PATH}"/>
<env key="CC" value="${CLFS_TARGET}-gcc"/>
<env key="CXX" value="${CLFS_TARGET}-g++"/>
<env key="AR" value="${CLFS_TARGET}-ar"/>
<env key="AS" value="${CLFS_TARGET}-as"/>
<env key="RANLIB" value="${CLFS_TARGET}-ranlib"/>
<env key="LD" value="${CLFS_TARGET}-ld"/>
<env key="STRIP" value="${CLFS_TARGET}-strip"/>
<arg line="--prefix=${sysrootdir}/tools --build=${CLFS_HOST} --host=${CLFS_TARGET}"/>
</exec>
<exec executable="make" dir="${makedir}" failonerror="true">
<env key="PATH" path="${PATH}"/>
<env key="CC" value="${CLFS_TARGET}-gcc"/>
<env key="CXX" value="${CLFS_TARGET}-g++"/>
<env key="AR" value="${CLFS_TARGET}-ar"/>
<env key="AS" value="${CLFS_TARGET}-as"/>
<env key="RANLIB" value="${CLFS_TARGET}-ranlib"/>
<env key="LD" value="${CLFS_TARGET}-ld"/>
<env key="STRIP" value="${CLFS_TARGET}-strip"/>
</exec>
<exec executable="make" dir="${makedir}" failonerror="true">
<env key="PATH" path="${PATH}"/>
<env key="CC" value="${CLFS_TARGET}-gcc"/>
<env key="CXX" value="${CLFS_TARGET}-g++"/>
<env key="AR" value="${CLFS_TARGET}-ar"/>
<env key="AS" value="${CLFS_TARGET}-as"/>
<env key="RANLIB" value="${CLFS_TARGET}-ranlib"/>
<env key="LD" value="${CLFS_TARGET}-ld"/>
<env key="STRIP" value="${CLFS_TARGET}-strip"/>
<arg line="install"/>
</exec>
<delete dir="${makedir}"/>
</target>
</project>
File added
bin
/bin/.*
locale
/usr/share/locale/.*
info
/usr/share/info/.*
man
/usr/share/man/.*
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment