mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 18:17:14 +08:00
348d542db8
will commit them separately next time... it's just too much work to do separate commits right now
38 lines
863 B
Bash
38 lines
863 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas@chakra-project.org
|
|
|
|
pkgname=plotutils
|
|
pkgver=2.6
|
|
pkgrel=3
|
|
arch=('x86_64')
|
|
pkgdesc="Set of utilities and libraries for plotting."
|
|
url="http://directory.fsf.org/graphics/plotutils.html"
|
|
license=("GPL")
|
|
depends=("libpng" "gcc-libs" "libxaw>=1.0.5")
|
|
options=('!libtool')
|
|
install=plotutils.install
|
|
source=("http://ftp.gnu.org/pub/gnu/plotutils/$pkgname-$pkgver.tar.gz"
|
|
'plotutils-2.6-libpng-1.5.patch')
|
|
md5sums=('c08a424bd2438c80a786a7f4b5bb6a40'
|
|
'7e3c9eba3e680f587ca6156f92008599')
|
|
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
patch -p0 -i ../plotutils-2.6-libpng-1.5.patch
|
|
./configure --prefix=/usr \
|
|
--with-gnu-ld \
|
|
--with-x \
|
|
--enable-libplotter
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|