smlinux/base/eudev/eudev.SMBuild

39 lines
878 B
Text
Executable file

app=eudev
version=3.2.9
build=1sml
homepage="https://wiki.gentoo.org/wiki/Eudev"
download="http://sources.buildroot.net/eudev/eudev-$version.tar.gz"
desc="Independent fork of udev dynamic device manager by Gentoo devs"
requires="util-linux"
build() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
./configure \
--prefix="" \
--bindir=/bin \
--sbindir=/bin \
--sysconfdir=/etc \
--disable-introspection
make
make install DESTDIR=$pkg
mkdir -p $pkg/etc/udev/rules.d
cp $srcdir/*.rules $pkg/etc/udev/rules.d/
mv $pkg/share/pkgconfig/* $pkg/lib/pkgconfig/
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
a239ca799e3b18bc058ab120dd8636e360ad9e579ea15d21718ac4eee7ad2a74720e83f66eb3dfaa22443f3ee8db64ef4e0d254dbcf98e2fbe37ecaec40075b1 eudev-3.2.9.tar.lz
"