29 lines
452 B
Bash
29 lines
452 B
Bash
|
pkgname=cmph
|
||
|
pkgver=2.0.2
|
||
|
|
||
|
fetch() {
|
||
|
curl -L "http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" -o $pkgname-$pkgver.tar.xz
|
||
|
tar -xf $pkgname-$pkgver.tar.xz
|
||
|
}
|
||
|
|
||
|
build() {
|
||
|
cd $pkgname-$pkgver
|
||
|
./configure \
|
||
|
--prefix=/usr \
|
||
|
--build=x86_64-unknown-linux-musl \
|
||
|
--host=x86_64-unknown-linux-musl
|
||
|
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd $pkgname-$pkgver
|
||
|
make install DESTDIR=$pkgdir
|
||
|
}
|
||
|
|
||
|
license() {
|
||
|
cd $pkgname-$pkgver
|
||
|
cat LICENSE
|
||
|
# cat COPYING
|
||
|
}
|