### this file is sourced not run
PKGVER=2.0.1
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=fly-2.0.1.tar.gz
MD5SUM=3b3db9c00c7abc77f5d70ddc206a1942
SRC_URL=http://martin.gleeson.com/fly/dist/fly-2.0.1.tar.gz
BUNDLE=

SLACKREQ='libgd' # 
SLACKDESC='fly: fly 2.0.1 (GD graphics shell)  
fly:  
fly: fly is a C program that creates PNG, JPEG or GIF images on the fly from 
fly: CGI and other programs. Using Thomas Boutell'\''s gd graphics library for 
fly: fast image creation, it provides a command-file interface for creating 
fly: and modifying images.  
fly: 
fly: http://martin.gleeson.com/fly/
fly: 
fly: 
fly: 
'

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/fly*
	make && cp fly /usr/bin &&
	
	# docs
	mkdir -p /usr/share/doc/fly &&
	cp -a doc/* examples /usr/share/doc/fly &&
	pkg_build_slackdesc
}
