aboutsummaryrefslogtreecommitdiffstats
path: root/main/udev-init-scripts
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-07-16 14:22:45 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-07-17 07:57:29 +0000
commit3bc33b297bb4430a52c7632757b8dc73c1eb26ca (patch)
treefa09d265ed9098de801823529487c493a91564d6 /main/udev-init-scripts
parentf22918f24104fc43b56b31f3b051dfe4b14e22f4 (diff)
downloadaports-3bc33b297bb4430a52c7632757b8dc73c1eb26ca.tar.bz2
aports-3bc33b297bb4430a52c7632757b8dc73c1eb26ca.tar.xz
main/eudev (and deps): move from testing
Diffstat (limited to 'main/udev-init-scripts')
-rw-r--r--main/udev-init-scripts/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/main/udev-init-scripts/APKBUILD b/main/udev-init-scripts/APKBUILD
new file mode 100644
index 0000000000..0bdda5264f
--- /dev/null
+++ b/main/udev-init-scripts/APKBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=udev-init-scripts
+pkgver=30
+pkgrel=1
+pkgdesc="udev startup scripts for openrc"
+url="https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-fs/udev-init-scripts/"
+arch="noarch"
+license="GPLv2"
+depends=""
+depends_dev=""
+makedepends="$depends_dev"
+replaces="udev"
+install="$pkgname.post-install $pkgname.post-upgrade"
+subpackages=""
+source="http://dev.gentoo.org/~williamh/dist/udev-init-scripts-$pkgver.tar.gz"
+
+_builddir="$srcdir"/udev-init-scripts-$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
+}
+
+build() {
+ cd "$_builddir"
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="2425702e7706b720866e9fc1cc4f9f34 udev-init-scripts-30.tar.gz"
+sha256sums="4de998d68e28f8ce4c1d4c9955aec0fa4cfe84673cbf3bfe1be71a1e9918693f udev-init-scripts-30.tar.gz"
+sha512sums="bf9ec69d9fb9edbe37f3dec8e1d5c828ea63591382de33818297ec5e37490c2dd709a8e32251fba36a816952c98af49172c7c09f3252712ddc51820205c4efdd udev-init-scripts-30.tar.gz"