2021-06-15 19:55:58 +00:00
|
|
|
pkgname=mtdev
|
|
|
|
pkgver=1.1.6
|
|
|
|
|
|
|
|
fetch() {
|
|
|
|
curl "http://bitmath.org/code/mtdev/mtdev-$pkgver.tar.gz" -o $pkgname-$pkgver.tar.xz
|
|
|
|
tar -xf $pkgname-$pkgver.tar.xz
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2021-06-24 21:12:48 +00:00
|
|
|
--build=$(echo $TRIPLE | sed 's/musl/gnu/g') \
|
|
|
|
--host=$(echo $TRIPLE | sed 's/musl/gnu/g')
|
2021-06-15 19:55:58 +00:00
|
|
|
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
make install DESTDIR=$pkgdir
|
|
|
|
}
|
|
|
|
|
|
|
|
license() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
cat COPYING
|
|
|
|
}
|