mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 02:37:14 +08:00
30 lines
780 B
Bash
30 lines
780 B
Bash
pkgname=linux-atm
|
|
pkgver=2.5.2
|
|
pkgrel=1
|
|
pkgdesc="Drivers and tools to support ATM networking under Linux."
|
|
arch=('x86_64')
|
|
depends=('glibc')
|
|
url="http://linux-atm.sourceforge.net/"
|
|
license=(GPL)
|
|
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz
|
|
man-pages.patch)
|
|
options=(!libtool !makeflags)
|
|
md5sums=('d49499368c3cf15f73a05d9bce8824a8'
|
|
'181390736336cdb615ae32f1ae5acfa6')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
patch -Np1 -i ../man-pages.patch
|
|
|
|
# install firmware in /usr/lib
|
|
sed -i "s#/lib/firmware#/usr/lib/firmware#" src/extra/Makefile.in
|
|
|
|
./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|