mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 01:57:17 +08:00
33 lines
739 B
Bash
33 lines
739 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas[at]chakra-project[dot]org>
|
|
|
|
pkgname=mtdev
|
|
pkgver=1.1.2
|
|
pkgrel=1
|
|
pkgdesc="A stand-alone library which transforms all variants of kernel MT events to the slotted type B protocol"
|
|
arch=('i686' 'x86_64')
|
|
url="http://bitmath.org/code/mtdev"
|
|
license=('custom:MIT')
|
|
depends=('glibc')
|
|
options=('!libtool')
|
|
source=("$url/$pkgname-$pkgver.tar.bz2")
|
|
md5sums=('d9c7700918fc392e29da7477ae20c5c2')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
./configure --prefix=/usr --disable-static
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
make DESTDIR="$pkgdir/" install
|
|
|
|
# license
|
|
install -Dm644 COPYING \
|
|
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
}
|
|
|