[arch-commits] Commit in kmod/repos (6 files)

Dave Reisner dreisner at archlinux.org
Tue Feb 7 08:26:21 EST 2012


    Date: Tuesday, February 7, 2012 @ 08:26:20
  Author: dreisner
Revision: 149394

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  kmod/repos/staging-i686/
  kmod/repos/staging-i686/PKGBUILD
    (from rev 149393, kmod/trunk/PKGBUILD)
  kmod/repos/staging-i686/depmod-search.conf
    (from rev 149393, kmod/trunk/depmod-search.conf)
  kmod/repos/staging-x86_64/
  kmod/repos/staging-x86_64/PKGBUILD
    (from rev 149393, kmod/trunk/PKGBUILD)
  kmod/repos/staging-x86_64/depmod-search.conf
    (from rev 149393, kmod/trunk/depmod-search.conf)

-----------------------------------+
 staging-i686/PKGBUILD             |   56 ++++++++++++++++++++++++++++++++++++
 staging-i686/depmod-search.conf   |    5 +++
 staging-x86_64/PKGBUILD           |   56 ++++++++++++++++++++++++++++++++++++
 staging-x86_64/depmod-search.conf |    5 +++
 4 files changed, 122 insertions(+)

Copied: kmod/repos/staging-i686/PKGBUILD (from rev 149393, kmod/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2012-02-07 13:26:20 UTC (rev 149394)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+
+pkgname=kmod
+pkgver=5
+pkgrel=1
+pkgdesc="Linux kernel module handling"
+arch=('i686' 'x86_64')
+url="http://git.profusion.mobi/cgit.cgi/kmod.git"
+license=('GPL2')
+depends=('glibc' 'zlib')
+options=('!libtool' '!strip')
+provides=('module-init-tools=3.16')
+conflicts=('module-init-tools')
+replaces=('module-init-tools')
+source=("http://packages.profusion.mobi/$pkgname/$pkgname-$pkgver.tar.xz"
+        "depmod-search.conf")
+md5sums=('b271c2ec54aba1c67bda63c8579d8c15'
+         '4b8cbcbc54b9029c99fd730e257d4436')
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  CFLAGS+=' -g -O0' ./configure \
+    --sysconfdir=/etc \
+    --with-rootprefix= \
+    --with-zlib \
+    --enable-debug
+
+  make
+}
+
+check() {
+  make -C "$pkgname-$pkgver" check
+}
+
+package() {
+  make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+
+  # binary directories
+  install -dm755 "$pkgdir"/{,s}bin
+
+  # configuration directories
+  install -dm755 "$pkgdir"/{etc,lib}/{depmod,modprobe}.d
+
+  # add symlinks to kmod
+  ln -s /usr/bin/kmod "$pkgdir/bin/lsmod"
+  for tool in {ins,rm,dep}mod mod{info,probe}; do
+    ln -s ../usr/bin/kmod "$pkgdir/sbin/$tool"
+  done
+
+  # install depmod.d file for search/ dir
+  install -Dm644 "$srcdir/depmod-search.conf" "$pkgdir/lib/depmod.d/search.conf"
+}
+
+# vim: ft=sh syn=sh et

Copied: kmod/repos/staging-i686/depmod-search.conf (from rev 149393, kmod/trunk/depmod-search.conf)
===================================================================
--- staging-i686/depmod-search.conf	                        (rev 0)
+++ staging-i686/depmod-search.conf	2012-02-07 13:26:20 UTC (rev 149394)
@@ -0,0 +1,5 @@
+#
+# /etc/depmod.d/depmod.conf
+#
+
+search updates extramodules built-in

Copied: kmod/repos/staging-x86_64/PKGBUILD (from rev 149393, kmod/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2012-02-07 13:26:20 UTC (rev 149394)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+
+pkgname=kmod
+pkgver=5
+pkgrel=1
+pkgdesc="Linux kernel module handling"
+arch=('i686' 'x86_64')
+url="http://git.profusion.mobi/cgit.cgi/kmod.git"
+license=('GPL2')
+depends=('glibc' 'zlib')
+options=('!libtool' '!strip')
+provides=('module-init-tools=3.16')
+conflicts=('module-init-tools')
+replaces=('module-init-tools')
+source=("http://packages.profusion.mobi/$pkgname/$pkgname-$pkgver.tar.xz"
+        "depmod-search.conf")
+md5sums=('b271c2ec54aba1c67bda63c8579d8c15'
+         '4b8cbcbc54b9029c99fd730e257d4436')
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  CFLAGS+=' -g -O0' ./configure \
+    --sysconfdir=/etc \
+    --with-rootprefix= \
+    --with-zlib \
+    --enable-debug
+
+  make
+}
+
+check() {
+  make -C "$pkgname-$pkgver" check
+}
+
+package() {
+  make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+
+  # binary directories
+  install -dm755 "$pkgdir"/{,s}bin
+
+  # configuration directories
+  install -dm755 "$pkgdir"/{etc,lib}/{depmod,modprobe}.d
+
+  # add symlinks to kmod
+  ln -s /usr/bin/kmod "$pkgdir/bin/lsmod"
+  for tool in {ins,rm,dep}mod mod{info,probe}; do
+    ln -s ../usr/bin/kmod "$pkgdir/sbin/$tool"
+  done
+
+  # install depmod.d file for search/ dir
+  install -Dm644 "$srcdir/depmod-search.conf" "$pkgdir/lib/depmod.d/search.conf"
+}
+
+# vim: ft=sh syn=sh et

Copied: kmod/repos/staging-x86_64/depmod-search.conf (from rev 149393, kmod/trunk/depmod-search.conf)
===================================================================
--- staging-x86_64/depmod-search.conf	                        (rev 0)
+++ staging-x86_64/depmod-search.conf	2012-02-07 13:26:20 UTC (rev 149394)
@@ -0,0 +1,5 @@
+#
+# /etc/depmod.d/depmod.conf
+#
+
+search updates extramodules built-in



More information about the arch-commits mailing list