mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 21:57:22 +08:00
30 lines
742 B
Bash
30 lines
742 B
Bash
|
#
|
||
|
# Apps Packages for Chakra, part of chakra-project.org
|
||
|
#
|
||
|
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
||
|
|
||
|
# include global config
|
||
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||
|
|
||
|
pkgname=muparser
|
||
|
pkgver=1.32
|
||
|
pkgrel=1
|
||
|
pkgdesc="a fast math parser library"
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://muparser.sourceforge.net/"
|
||
|
depends=('glibc' 'gcc-libs')
|
||
|
license=('custom')
|
||
|
source=(http://downloads.sourceforge.net/$pkgname/muparser_v132.tar.gz)
|
||
|
md5sums=('9eda5ba73cae7dce09daa6bef6b7c49b')
|
||
|
|
||
|
build() {
|
||
|
cd $srcdir/${pkgname}_v132
|
||
|
./configure --prefix=/usr --disable-samples
|
||
|
make || return 1
|
||
|
make DESTDIR=$pkgdir install
|
||
|
|
||
|
# license
|
||
|
install -D -m644 License.txt \
|
||
|
$pkgdir/usr/share/licenses/${pkgname}/License
|
||
|
}
|