mirror of
https://github.com/pygos/build.git
synced 2024-05-20 04:26:13 +02:00
23 lines
308 B
Plaintext
Executable file
23 lines
308 B
Plaintext
Executable file
source "$SCRIPTDIR/pkg/file/build"
|
|
DEPENDS=""
|
|
|
|
prepare() {
|
|
return
|
|
}
|
|
|
|
build() {
|
|
$1/configure --prefix="$TCDIR" --disable-static \
|
|
--build="$HOSTTUPLE" --host="$HOSTTUPLE"
|
|
|
|
make -j $NUMJOBS
|
|
}
|
|
|
|
deploy() {
|
|
make install
|
|
|
|
touch "$2/$PKGNAME.files"
|
|
cat > "$2/$PKGNAME.desc" <<_EOF
|
|
name $PKGNAME
|
|
_EOF
|
|
}
|