[arch-commits] Commit in pcmciautils/repos (6 files)
Tom Gundersen
tomegun at archlinux.org
Tue Dec 11 00:29:42 UTC 2012
Date: Monday, December 10, 2012 @ 19:29:41
Author: tomegun
Revision: 173101
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
pcmciautils/repos/testing-i686/
pcmciautils/repos/testing-i686/PKGBUILD
(from rev 173100, pcmciautils/trunk/PKGBUILD)
pcmciautils/repos/testing-i686/initcpio-install-pcmcia
(from rev 173100, pcmciautils/trunk/initcpio-install-pcmcia)
pcmciautils/repos/testing-x86_64/
pcmciautils/repos/testing-x86_64/PKGBUILD
(from rev 173100, pcmciautils/trunk/PKGBUILD)
pcmciautils/repos/testing-x86_64/initcpio-install-pcmcia
(from rev 173100, pcmciautils/trunk/initcpio-install-pcmcia)
----------------------------------------+
testing-i686/PKGBUILD | 32 +++++++++++++++++++++++++++++++
testing-i686/initcpio-install-pcmcia | 22 +++++++++++++++++++++
testing-x86_64/PKGBUILD | 32 +++++++++++++++++++++++++++++++
testing-x86_64/initcpio-install-pcmcia | 22 +++++++++++++++++++++
4 files changed, 108 insertions(+)
Copied: pcmciautils/repos/testing-i686/PKGBUILD (from rev 173100, pcmciautils/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2012-12-11 00:29:41 UTC (rev 173101)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+pkgname=pcmciautils
+pkgver=018
+pkgrel=6
+pkgdesc="Utilities for inserting and removing PCMCIA cards"
+arch=('i686' 'x86_64')
+url="http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html"
+license=('GPL')
+groups=('base')
+depends=('systemd')
+conflicts=('pcmcia-cs')
+# source=(http://kernel.org/pub/linux/utils/kernel/pcmcia/${pkgname}-${pkgver}.tar.bz2) broken due to breakin
+source=(ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.xz
+ initcpio-install-pcmcia)
+options=(!makeflags)
+
+build() {
+ cd "$pkgname-$pkgver"
+ sed -i -e 's,/lib/udev,/usr/lib/udev,g' Makefile
+ make
+}
+
+package() {
+ make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+
+ # install the mkinitpcio hook
+ install -Dm644 initcpio-install-pcmcia "$pkgdir/usr/lib/initcpio/install/pcmcia"
+}
+md5sums=('2e9469c44dcb790d2b497723c2fa0566'
+ '041af04025daee5b3b05812ac3896c8f')
Copied: pcmciautils/repos/testing-i686/initcpio-install-pcmcia (from rev 173100, pcmciautils/trunk/initcpio-install-pcmcia)
===================================================================
--- testing-i686/initcpio-install-pcmcia (rev 0)
+++ testing-i686/initcpio-install-pcmcia 2012-12-11 00:29:41 UTC (rev 173101)
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+build() {
+ if add_checked_modules -f 'sound|net' '/drivers/pcmcia/'; then
+ add_module 'sd_mod?'
+ fi
+
+ add_binary "/usr/lib/udev/pcmcia-socket-startup"
+ add_binary "/usr/lib/udev/pcmcia-check-broken-cis"
+ add_file "/usr/lib/udev/rules.d/60-pcmcia.rules"
+ add_file "/etc/pcmcia/config.opts"
+}
+
+help() {
+ cat <<HELPEOF
+This hook loads the necessary modules for a pcmcia root device. Detection will
+take place at runtime. To minimize the modules in the image, add the autodetect
+hook too.
+HELPEOF
+}
+
+# vim: set ft=sh ts=4 sw=4 et:
Copied: pcmciautils/repos/testing-x86_64/PKGBUILD (from rev 173100, pcmciautils/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-12-11 00:29:41 UTC (rev 173101)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+pkgname=pcmciautils
+pkgver=018
+pkgrel=6
+pkgdesc="Utilities for inserting and removing PCMCIA cards"
+arch=('i686' 'x86_64')
+url="http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html"
+license=('GPL')
+groups=('base')
+depends=('systemd')
+conflicts=('pcmcia-cs')
+# source=(http://kernel.org/pub/linux/utils/kernel/pcmcia/${pkgname}-${pkgver}.tar.bz2) broken due to breakin
+source=(ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.xz
+ initcpio-install-pcmcia)
+options=(!makeflags)
+
+build() {
+ cd "$pkgname-$pkgver"
+ sed -i -e 's,/lib/udev,/usr/lib/udev,g' Makefile
+ make
+}
+
+package() {
+ make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+
+ # install the mkinitpcio hook
+ install -Dm644 initcpio-install-pcmcia "$pkgdir/usr/lib/initcpio/install/pcmcia"
+}
+md5sums=('2e9469c44dcb790d2b497723c2fa0566'
+ '041af04025daee5b3b05812ac3896c8f')
Copied: pcmciautils/repos/testing-x86_64/initcpio-install-pcmcia (from rev 173100, pcmciautils/trunk/initcpio-install-pcmcia)
===================================================================
--- testing-x86_64/initcpio-install-pcmcia (rev 0)
+++ testing-x86_64/initcpio-install-pcmcia 2012-12-11 00:29:41 UTC (rev 173101)
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+build() {
+ if add_checked_modules -f 'sound|net' '/drivers/pcmcia/'; then
+ add_module 'sd_mod?'
+ fi
+
+ add_binary "/usr/lib/udev/pcmcia-socket-startup"
+ add_binary "/usr/lib/udev/pcmcia-check-broken-cis"
+ add_file "/usr/lib/udev/rules.d/60-pcmcia.rules"
+ add_file "/etc/pcmcia/config.opts"
+}
+
+help() {
+ cat <<HELPEOF
+This hook loads the necessary modules for a pcmcia root device. Detection will
+take place at runtime. To minimize the modules in the image, add the autodetect
+hook too.
+HELPEOF
+}
+
+# vim: set ft=sh ts=4 sw=4 et:
More information about the arch-commits
mailing list