2018-02-11 18:40:55 +01:00
|
|
|
VERSION="2.10"
|
|
|
|
SRCDIR="lzo-${VERSION}"
|
|
|
|
TARBALL="${SRCDIR}.tar.gz"
|
|
|
|
URL="http://www.oberhumer.com/opensource/lzo/download"
|
|
|
|
SHA256SUM="c0f892943208266f9b6543b3ae308fab6284c5c90e627931446fb49b4221a072"
|
2018-02-15 23:47:54 +01:00
|
|
|
DEPENDS="toolchain"
|
2018-02-11 18:40:55 +01:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2018-02-16 23:22:04 +01:00
|
|
|
$1/configure --prefix="" --host="$TARGET" \
|
|
|
|
--enable-shared --disable-static
|
2018-02-11 18:40:55 +01:00
|
|
|
|
|
|
|
make -j $NUMJOBS
|
|
|
|
}
|
|
|
|
|
|
|
|
deploy() {
|
|
|
|
local SOURCE="$1"
|
2018-02-16 23:22:04 +01:00
|
|
|
local DEPLOY="$2"
|
|
|
|
local DEVDEPLOY="$3"
|
2018-02-11 18:40:55 +01:00
|
|
|
|
|
|
|
make DESTDIR="$DEPLOY" install-strip
|
|
|
|
|
|
|
|
rm -r "$DEPLOY/share"
|
|
|
|
|
|
|
|
split_dev_deploy "$DEPLOY" "$DEVDEPLOY"
|
|
|
|
}
|