core/plotutils/PKGBUILD

38 lines
863 B
Bash
Raw Normal View History

#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
2010-06-07 21:12:50 +08:00
pkgname=plotutils
pkgver=2.6
pkgrel=2
arch=('x86_64')
2010-06-07 21:12:50 +08:00
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')
2010-06-07 21:12:50 +08:00
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p0 -i ../plotutils-2.6-libpng-1.5.patch
2010-06-07 21:12:50 +08:00
./configure --prefix=/usr \
--with-gnu-ld \
--with-x \
--enable-libplotter
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
2010-06-07 21:12:50 +08:00
}