CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
xfe: Initial import (verified compilation)
[attic/ports/opt-cross.git] / xfe / Pkgfile
CommitLineData
8cd63704
VM
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
8name=xfe
9version=1.32.1
10release=1
11source=(http://dl.sourceforge.net/sourceforge/xfe/$name-$version.tar.gz)
12
13build() {
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}