### this file is sourced not run
## source: step

MD5SUM=55feb4ebaa709b52bd00a15ed0fb52fb
pkgname=pinfo # for SLACKDESC
PKGVER=0.6.8
TARBALL=$pkgname-$PKGVER.tar.gz
SRC_URL=http://pinfo.sourceforge.net/$TARBALL

PKGARCH=x86_64
PKGBUILD=1
BUNDLE=

SLACKREQ=''
SLACKDESC="$pkgname: $pkgname $PKGVER (text reader)
$pkgname:  
$pkgname: A lynx-style info and man reader
$pkgname: 
$pkgname: Pinfo is a text-based reader for info files and manual pages.
$pkgname: Pages are colorised and hypertextualised. URLs are supported.
$pkgname: Keyboard and colors are fully configurable.
$pkgname:
$pkgname: License: GNU GPL 
$pkgname:
$pkgname: http://pinfo.sourceforge.net/ 
"

### default pkg_download
### prepare
pkg_prepare() {
	pkg_prepare_default &&
	cd tmp/$pkgname-$PKGVER &&
	: patches go here...
}
### build
pkg_build() {
	export MAKE="make $MAKEFLAGS"
	cd tmp/$pkgname-$PKGVER &&
  if ! [ -e configure ]; then ./autogen.sh; fi &&
	./configure --prefix=/usr --libdir=/usr/lib64 &&
	make &&
	make PREFIX=/usr install INSTALLLIB=/usr/lib64 &&
	pkg_build_slackdesc
}

pkg_package() {
	# in $CHROOT_DIR
	: sample rm -r usr/local
}
# vim: fdm=marker ft=sh:
