aboutsummaryrefslogtreecommitdiffstats
path: root/main/pcmciautils/APKBUILD
blob: e2f67e5da516abbc1880a8c7c08b5cf258c42d5f (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
# 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="all"
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 build/ccdv || return 1
	make -j1 LEX=flex || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir"/ install
	ln -sf pccardctl "$pkgdir"/sbin/lspcmcia
}
md5sums="964c802994677a71b38ec56554aa229f  pcmciautils-018.tar.xz"