aboutsummaryrefslogtreecommitdiffstats
path: root/main/eudev/APKBUILD
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-08-15 15:51:01 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2016-08-15 16:09:14 +0200
commit56fa66e3fe81120ddb34b8b9e8ba91818519ef74 (patch)
tree45b22627682f3f2941d464c5c44a538cf0f2571a /main/eudev/APKBUILD
parent5a264904823e6bb3d2c8197fb50651b45001ae39 (diff)
downloadaports-56fa66e3fe81120ddb34b8b9e8ba91818519ef74.tar.bz2
aports-56fa66e3fe81120ddb34b8b9e8ba91818519ef74.tar.xz
main/eudev: upgrade to 3.2
Diffstat (limited to 'main/eudev/APKBUILD')
-rw-r--r--main/eudev/APKBUILD41
1 files changed, 13 insertions, 28 deletions
diff --git a/main/eudev/APKBUILD b/main/eudev/APKBUILD
index d7689acdb0..80ff36aa11 100644
--- a/main/eudev/APKBUILD
+++ b/main/eudev/APKBUILD
@@ -1,6 +1,7 @@
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=eudev
-pkgver=3.1.5
+pkgver=3.2
pkgrel=0
pkgdesc="OpenRC compatible fork of systemd-udev"
url="https://wiki.gentoo.org/wiki/Project:Eudev"
@@ -13,25 +14,14 @@ makedepends="$depends_dev gperf glib-dev linux-headers kmod-dev
gobject-introspection-dev util-linux-dev"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs $pkgname-netifnames"
-source="http://dev.gentoo.org/~blueness/eudev/eudev-$pkgver.tar.gz
+source="http://dev.gentoo.org/~blueness/$pkgname/$pkgname-$pkgver.tar.gz
udev-postmount.initd
setup-udev
"
-
-_builddir="$srcdir"/eudev-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
-
+builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
# we need disable kmod til busybox depmod generates binary formats:
# modules.dep.bin modules.alias.bin modules.symbols.bin
# modules.builtin.bin
@@ -53,19 +43,14 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" sharepkgconfigdir=/usr/lib/pkgconfig \
install || return 1
- for i in $source; do
- case $i in
- *.initd)
- install -Dm755 "$srcdir"/$i \
- "$pkgdir"/etc/init.d/${i%.initd} || return 1
- ;;
- esac
- done
- install -Dm755 "$srcdir"/setup-udev "$pkgdir"/sbin/setup-udev
+ install -Dm755 "$srcdir"/udev-postmount.initd \
+ "$pkgdir"/etc/init.d/udev-postmount || return 1
+ install -Dm755 "$srcdir"/setup-udev \
+ "$pkgdir"/sbin/setup-udev || return 1
}
dev() {
@@ -92,12 +77,12 @@ netifnames() {
"$subpkgdir"/lib/udev/rules.d/
}
-md5sums="c4dace42deecede102b6c01904042acc eudev-3.1.5.tar.gz
+md5sums="7e42d9b9ed8162021665139520676367 eudev-3.2.tar.gz
17ca36a764f5e8a89454344cde828740 udev-postmount.initd
6fe6a4b05f2768e240c3a20caa0f0cee setup-udev"
-sha256sums="f75885a430cd50fe4b31732f808ba7f9b2adf0f26b53b8ba2957b0c1d84b6f2a eudev-3.1.5.tar.gz
+sha256sums="d84a5f7942393a009afc6af0bf31e98841147a0521b91ffbed161dccac303c25 eudev-3.2.tar.gz
b0327069dbb57b39600079b87df80915dabb77c2fa298d6ae109ca04f8ba08b5 udev-postmount.initd
7c961c05700e881677249d3aa0ac3a4b489d203cab7464d38f1a78c3692026be setup-udev"
-sha512sums="c5192e085ca4230aaac918e701989b712e5bda1558db31eb6ba635c17c4bdff398458d51cefbc5fb77a7c775ec1e04b1dbe019b8314cac3f43a5c1ae61521b5e eudev-3.1.5.tar.gz
+sha512sums="84c4dc6683531a3efb1e6b4e3ce4108c1747a7d7f07519d46009a9d1b77323d4e0331aa4c2870a4b571bfb01f6bec3444f1bf0d4ed0a524118b32ded49c3eb7c eudev-3.2.tar.gz
8ef1b911843ab13acb1c1b9b7a0a5cd76659f395c3db9e579429556f23eacebb414507dc0231e2455e7589bc70054fa1e6b6dd93dd833f7101c0da0597aabf88 udev-postmount.initd
aa8a040ad503633bf751e8cab34535715f0db2a8b4b716a1dc0b00a6f9c6a78fabc0652daba3e43df91d4d80c68563c00a27b7bc6f419573bc7704a5c7f76ee1 setup-udev"