diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-03-24 12:41:07 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-03-24 12:41:07 +0000 |
commit | a1e641c9e26bfdffc13538380ed369696462cb28 (patch) | |
tree | b2a54602c7d74ca56abe8602427827927156ca60 /extra/pcmciautils | |
parent | d8955047d90a670ad46ee7445c02237d44218c51 (diff) | |
download | aports-a1e641c9e26bfdffc13538380ed369696462cb28.tar.bz2 aports-a1e641c9e26bfdffc13538380ed369696462cb28.tar.xz |
extra/pcmciautils: new aport
Utilities for inserting and removing PCMCIA cards
http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html
Diffstat (limited to 'extra/pcmciautils')
-rw-r--r-- | extra/pcmciautils/APKBUILD | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/extra/pcmciautils/APKBUILD b/extra/pcmciautils/APKBUILD new file mode 100644 index 0000000000..f11f6e06bf --- /dev/null +++ b/extra/pcmciautils/APKBUILD @@ -0,0 +1,21 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=pcmciautils +pkgver=015 +pkgrel=0 +pkgdesc="Utilities for inserting and removing PCMCIA cards" +url="http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html" +license="GPL" +subpackages="$pkgname-doc" +depends="uclibc sysfsutils" +makedepends="sysfsutils-dev bison flex" +source="http://kernel.org/pub/linux/utils/kernel/pcmcia/$pkgname-$pkgver.tar.bz2" + +build() { + cd "$srcdir"/$pkgname-$pkgver +# sed -i -e 's,/usr/bin/install,/bin/install,g' Makefile + make build/ccdv || return 1 + make LEX=flex || return 1 + make DESTDIR="$pkgdir"/ install + ln -sf pccardctl "$pkgdir"/sbin/lspcmcia +} +md5sums="9e12435c8b6cf7bf59894e90e480b4aa pcmciautils-015.tar.bz2" |