added mtdev
This commit is contained in:
parent
02db0b15a6
commit
550c78e460
1 changed files with 27 additions and 0 deletions
27
pkgs/mtdev/build.sh
Normal file
27
pkgs/mtdev/build.sh
Normal file
|
@ -0,0 +1,27 @@
|
|||
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 \
|
||||
--build=$TRIPLE \
|
||||
--host=$TRIPLE
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make install DESTDIR=$pkgdir
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat COPYING
|
||||
}
|
Loading…
Reference in a new issue