30 lines
782 B
Bash
30 lines
782 B
Bash
|
# Template file for 'num-utils'
|
||
|
pkgname=num-utils
|
||
|
version=0.5
|
||
|
revision=1
|
||
|
hostmakedepends="perl"
|
||
|
depends="perl"
|
||
|
short_desc="Programs for dealing with numbers from the Unix command line"
|
||
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||
|
license="GPL-2"
|
||
|
homepage="http://suso.suso.org/xulu/Num-utils"
|
||
|
distfiles="http://suso.suso.org/programs/${pkgname}/downloads/${pkgname}-${version}.tar.gz"
|
||
|
checksum=03592760fc7844492163b14ddc9bb4e4d6526e17b468b5317b4a702ea7f6c64e
|
||
|
noarch=yes
|
||
|
|
||
|
post_extract() {
|
||
|
sed -i 's/\$new_number\^\$1/$new_number**$1/g' numprocess
|
||
|
}
|
||
|
do_install() {
|
||
|
for f in average bound interval normalize random range round; do
|
||
|
vbin $f num$f
|
||
|
pod2man $f > $f.1
|
||
|
vman $f.1 num$f.1
|
||
|
done
|
||
|
for f in numgrep numprocess numsum; do
|
||
|
vbin $f
|
||
|
pod2man $f > $f.1
|
||
|
vman $f.1
|
||
|
done
|
||
|
}
|