2018-03-07 16:50:50 +01:00
|
|
|
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"
|
|
|
|
|
2018-06-17 16:08:11 +02:00
|
|
|
make DESTDIR="$DEPLOY" install
|
2018-03-07 16:50:50 +01:00
|
|
|
rmdir "$DEPLOY/share"
|
|
|
|
}
|
2018-05-06 17:23:31 +02:00
|
|
|
|
|
|
|
check_update() {
|
|
|
|
curl --silent -L "$URL" | grep -o "eudev-[0-9.]*tar.gz" | \
|
|
|
|
sed 's/eudev-//g' | sed 's/.tar.gz//g' | \
|
|
|
|
verson_find_greatest "$VERSION"
|
|
|
|
}
|