Commit 613651a8 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Initial commit

parents
all:
tar xf file-5.33.tar.gz
cd file-5.33 && ./configure --build=$(CLFS_TARGET) --prefix=/usr
$(MAKE) -C file-5.33
if [[ ! "$(BUILD_OPTIONS)" =~ no-tests ]] ; then \
$(MAKE) -C file-5.33 check ; \
fi
$(MAKE) -C file-5.33 install
rm -rf file-5.33
<project name="file">
<target name="cross-file">
<property name="makedir" value="${builddir}/file-5.33"/>
<exec executable="tar" failonerror="true">
<arg line="xf packages/file/file-5.33.tar.gz -C ${builddir}"/>
</exec>
<exec executable="./configure" dir="${makedir}" failonerror="true">
<arg line="--prefix=${sysrootdir}/cross-tools --disable-static"/>
</exec>
<exec executable="make" dir="${makedir}" failonerror="true"/>
<exec executable="make" dir="${makedir}" failonerror="true">
<arg line="install"/>
</exec>
<delete dir="${makedir}"/>
</target>
<target name="temporary-file">
<property name="makedir" value="${builddir}/file-5.33"/>
<exec executable="tar" failonerror="true">
<arg line="xf packages/file/file-5.33.tar.gz -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>
bin
/usr/bin/.*
/usr/share/misc/.*
headers
/usr/include/.*
man
/usr/share/man/.*
lib
/usr/lib/.*
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