mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 02:22:15 +08:00
34 lines
937 B
Bash
34 lines
937 B
Bash
#
|
|
# Core Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas@chakra-project.org
|
|
|
|
pkgname=pcmciautils
|
|
pkgver=018
|
|
pkgrel=2
|
|
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=('sysfsutils' 'udev')
|
|
conflicts=('pcmcia-cs')
|
|
options=(!makeflags)
|
|
# The sources on kernel.org seem to be missing after the server got hacked...
|
|
#source=("http://kernel.org/pub/linux/utils/kernel/pcmcia/${pkgname}-${pkgver}.tar.bz2")
|
|
source=("http://ftp.de.debian.org/debian/pool/main/p/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz")
|
|
md5sums=('3c388cb559975b37a75cb5965e9800a9')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
sed -i -e 's,/usr/bin/install,/bin/install,g' Makefile
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
|
|
# vim:set ts=2 sw=2 et:
|