mirror of
https://github.com/pygos/build.git
synced 2024-11-25 20:30:43 +01:00
3907b48c1f
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
33 lines
669 B
Text
Executable file
33 lines
669 B
Text
Executable file
VERSION="3.2.5"
|
|
SRCDIR="eudev-${VERSION}"
|
|
TARBALL="${SRCDIR}.tar.gz"
|
|
URL="https://dev.gentoo.org/~blueness/eudev"
|
|
SHA256SUM="49c2d04105cad2526302627e040fa24b1916a9a3e059539bc8bb919b973890af"
|
|
DEPENDS="util-linux kmod xz zlib"
|
|
|
|
prepare() {
|
|
return
|
|
}
|
|
|
|
build() {
|
|
local SOURCE="$1"
|
|
local DEPLOY="$2"
|
|
|
|
$SOURCE/configure --prefix="" --host="$TARGET" --sbindir=/bin \
|
|
--disable-split-usr --disable-selinux \
|
|
--disable-manpages --disable-mtd_probe \
|
|
--disable-static
|
|
|
|
make -j $NUMJOBS
|
|
}
|
|
|
|
deploy() {
|
|
local SOURCE="$1"
|
|
local DEPLOY="$2"
|
|
local DEVDEPLOY="$3"
|
|
|
|
make DESTDIR="$DEPLOY" install-strip
|
|
|
|
split_dev_deploy "$DEPLOY" "$DEVDEPLOY"
|
|
rmdir "$DEPLOY/share"
|
|
}
|