| 1 | # Description: X File Explorer. |
| 2 | # URL: http://roland65.free.fr/xfe/ |
| 3 | # Packager: Johannes, Schick dot Johannes at gmail dot com |
| 4 | # Maintainer: Victor Martinez, pitillo at ono dot com |
| 5 | # Arch Maintainer System Team crux-arm at mikeux dot dyndns dot org |
| 6 | # Depends on: fox intltool |
| 7 | |
| 8 | name=xfe |
| 9 | version=1.32.1 |
| 10 | release=1 |
| 11 | source=(http://dl.sourceforge.net/sourceforge/xfe/$name-$version.tar.gz) |
| 12 | |
| 13 | build() { |
| 14 | cd $name-$version |
| 15 | export FOXCFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/fox-1.6" |
| 16 | export CXXFLAGS="${CXXFLAGS} $FOXCFLAGS" |
| 17 | export FOX_CONFIG="1" |
| 18 | echo "ac_cv_func_malloc_0_nonnull=yes" > config.cache |
| 19 | |
| 20 | ./configure --build=$CHOST \ |
| 21 | --host=$CTARGET \ |
| 22 | --prefix=/usr \ |
| 23 | --disable-nls \ |
| 24 | --mandir=$PKG/usr/man \ |
| 25 | --cache-file=config.cache |
| 26 | |
| 27 | sed -e '/#undef malloc/d' -e '/#undef realloc/d' -i config.h.in |
| 28 | make |
| 29 | make prefix=$PKG/usr install |
| 30 | } |