#Packager: Richard Lapointe #Former Packager(s): Name #Anything commented out is optional and can be deleted. pkgname=units pkgver=1.88 pkgrel=1rl #arch=noarch source=(http://ftp.gnu.org/gnu/units/units-1.88.tar.gz) sourcetemplate=http://people.salixos.org/yournick/$pkgname/$pkgver/ docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://www.gnu.org/software/units/units.html #dotnew=() #CFLAGS= #CXXFLAGS= #options=('noextract') #doinst() { # #} slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "units - units is a command line units converstion tool" "The Units program converts quantities expressed in various scales to" "their equivalents in other scales. The units program can handle" "multiplicative scale changes as well as nonlinear conversions such as" "Fahrenheit to Celsius or wire gauge. Units comes with an annotated," "extendable database defining over two thousand units. You can use the" "extensive data file that comes with this program, or you can provide" "your own data file to suit your needs. You can use the program" "interactively with prompts, or you can use it from the command line." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --build=$arch-slackware-linux make || return 1 make install DESTDIR=$startdir/pkg }