aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-07-15 09:01:55 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-07-15 09:01:55 +0000
commit18be628fea161da8b4b919a7f4515638fa2f25bb (patch)
tree005a69d4486e07a91884bcaf14833fcfc902893b
parentcd5a454a0a6e1daac08250cfe287e0e55754fb50 (diff)
downloadaports-18be628fea161da8b4b919a7f4515638fa2f25bb.tar.bz2
aports-18be628fea161da8b4b919a7f4515638fa2f25bb.tar.xz
testing/udev-init-scripts: new aport
udev startup scripts for openrc https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-fs/udev-init-scripts/
-rw-r--r--testing/udev-init-scripts/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/udev-init-scripts/APKBUILD b/testing/udev-init-scripts/APKBUILD
new file mode 100644
index 0000000000..f2c869af69
--- /dev/null
+++ b/testing/udev-init-scripts/APKBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=udev-init-scripts
+pkgver=30
+pkgrel=0
+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"
+install=""
+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"