mirror of
https://github.com/pygos/build.git
synced 2024-11-16 16:37:10 +01:00
525b36aa89
- Don't duplicate shared objects, use the ones from the deploy directory when building dependend packages - Add helper function for moving headers, static libraries and pkgconfig data to devdeploy directory Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
33 lines
582 B
Text
Executable file
33 lines
582 B
Text
Executable file
VERSION="3210000"
|
|
SRCDIR="sqlite-autoconf-${VERSION}"
|
|
TARBALL="${SRCDIR}.tar.gz"
|
|
URL="https://sqlite.org/2017/"
|
|
SHA256SUM="d7dd516775005ad87a57f428b6f86afd206cb341722927f104d3f0cf65fbbbe3"
|
|
DEPENDS="readline"
|
|
|
|
prepare() {
|
|
return
|
|
}
|
|
|
|
build() {
|
|
local INPUT="$1"
|
|
local OUTPUT="$2"
|
|
|
|
$INPUT/configure --prefix="" --host="$TARGET" --disable-tcl
|
|
|
|
make -j $NUMJOBS
|
|
}
|
|
|
|
deploy() {
|
|
local SOURCE="$1"
|
|
local BUILD="$2"
|
|
local DEPLOY="$3"
|
|
local DEVDEPLOY="$4"
|
|
|
|
make DESTDIR="$DEPLOY" install-strip
|
|
|
|
rm -r "$DEPLOY/share"
|
|
rm ${DEPLOY}/lib/*.la
|
|
|
|
split_dev_deploy "$DEPLOY" "$DEVDEPLOY"
|
|
}
|