summaryrefslogtreecommitdiffstats
path: root/main/pcmciautils/APKBUILD
blob: d993a039074ae769206eff77c857f1e2e3cda6b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=pcmciautils
pkgver=018
pkgrel=0
pkgdesc="Utilities for inserting and removing PCMCIA cards"
url="http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html"
arch=""
license="GPL"
subpackages="$pkgname-doc"
depends=
makedepends="sysfsutils-dev bison flex"
source="ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.xz"

build() {
	cd "$srcdir"/$pkgname-$pkgver
	make -j1 LEX=flex || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir"/ install
	ln -sf pccardctl "$pkgdir"/sbin/lspcmcia
}
md5sums="2e9469c44dcb790d2b497723c2fa0566  pcmciautils-018.tar.xz"
sha256sums="a5c09abeba95f750e8a8b01704114d733f0f0345f34e5c327bbb6a1bfd09c4b8  pcmciautils-018.tar.xz"
sha512sums="c7c1ecde41a60d3d1fcb12e3be309f8287d0242ad93e17b1286bf2818a0de1f415c89f63fec0571264e5ff87e99ba7ded905e6b671c2f6795ea910a0045261f5  pcmciautils-018.tar.xz"