From 3bc33b297bb4430a52c7632757b8dc73c1eb26ca Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 16 Jul 2015 14:22:45 +0000 Subject: main/eudev (and deps): move from testing --- testing/eudev/APKBUILD | 83 -------------------------------------- testing/udev-init-scripts/APKBUILD | 41 ------------------- 2 files changed, 124 deletions(-) delete mode 100644 testing/eudev/APKBUILD delete mode 100644 testing/udev-init-scripts/APKBUILD (limited to 'testing') diff --git a/testing/eudev/APKBUILD b/testing/eudev/APKBUILD deleted file mode 100644 index 92036a7ab1..0000000000 --- a/testing/eudev/APKBUILD +++ /dev/null @@ -1,83 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=eudev -pkgver=3.1.2 -pkgrel=0 -pkgdesc="OpenRC compatible fork of systemd-udev" -url="https://wiki.gentoo.org/wiki/Project:Eudev" -arch="all" -license="GPLv2" -depends="udev-init-scripts" -depends_dev="" -makedepends="$depends_dev gperf glib-dev linux-headers - gobject-introspection-dev" -install="" -subpackages="$pkgname-dev $pkgname-doc $pkgname-libgudev $pkgname-libs" -source="http://dev.gentoo.org/~blueness/eudev/eudev-$pkgver.tar.gz" - -_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 -} - -build() { - cd "$_builddir" - # we need disable kmod til busybox depmod generates binary formats: - # modules.dep.bin modules.alias.bin modules.symbols.bin - # modules.builtin.bin - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --sysconfdir=/etc \ - --with-rootprefix= \ - --with-rootrundir=/run \ - --with-rootlibexecdir=/lib/udev \ - --libdir=/usr/lib \ - --enable-split-usr \ - --enable-manpages \ - --disable-hwdb \ - --disable-kmod \ - --exec-prefix=/ \ - --enable-gudev \ - --enable-introspection \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" sharepkgconfigdir=/usr/lib/pkgconfig \ - install || return 1 - rm -f "$pkgdir"/usr/lib/*.la -} - -libs() { - pkgdesc="Dynamic library to access udev device information" - replaces="libudev" - depends="" - mkdir -p "$subpkgdir"/lib - for i in "$pkgdir"/usr/lib/libudev.so.*; do - mv $i "$subpkgdir"/lib || return 1 - ln -s ../../lib/${i##*/} "$pkgdir"/usr/lib/${i##*/} || return 1 - done -} - -libgudev() { - pkgdesc="A GObject wrapper of the library gudev" - replaces="libgudev" - depends="" - mkdir -p "$subpkgdir"/usr/lib || return 1 - mv "$pkgdir"/usr/lib/libgudev* "$subpkgdir"/usr/lib/ || return 1 - mv "$pkgdir"/usr/lib/girepository-* \ - "$subpkgdir"/usr/lib/ -} - - -md5sums="07ab33fe310d250f06fc28f010e3fde2 eudev-3.1.2.tar.gz" -sha256sums="4393b69e93dd8117defde6519b199d479f9d051f52061157a1a7a41b8fe10273 eudev-3.1.2.tar.gz" -sha512sums="d9aeb37a163ce4a0c116f75a927b4b99f8445d06624fbb3c28ade18f3effd8c54af5a4a52477c31a0452822a3dc0901468263195256e9dbf79d2ef08cf46f2b6 eudev-3.1.2.tar.gz" diff --git a/testing/udev-init-scripts/APKBUILD b/testing/udev-init-scripts/APKBUILD deleted file mode 100644 index 0bdda5264f..0000000000 --- a/testing/udev-init-scripts/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Maintainer: Natanael Copa -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" -- cgit v1.2.3