mirror of
https://github.com/pygos/build.git
synced 2024-11-23 03:29:46 +01:00
dd394b0970
The file utility needs a version of itself for cross compiling, so we also have to add it to the toolchain. Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
20 lines
269 B
Text
Executable file
20 lines
269 B
Text
Executable file
source "$SCRIPTDIR/pkg/file/build"
|
|
DEPENDS=""
|
|
|
|
prepare() {
|
|
return
|
|
}
|
|
|
|
build() {
|
|
local SOURCE="$1"
|
|
local BUILD="$2"
|
|
|
|
$SOURCE/configure --prefix="$TCDIR" --disable-static \
|
|
--build="$HOSTTUPLE" --host="$HOSTTUPLE"
|
|
|
|
make -j $NUMJOBS
|
|
}
|
|
|
|
deploy() {
|
|
make install
|
|
}
|