25 lines
708 B
Bash
25 lines
708 B
Bash
# Template file for 'nickle'
|
|
pkgname=nickle
|
|
version=2.85
|
|
revision=1
|
|
build_style=gnu-configure
|
|
makedepends="readline-devel"
|
|
short_desc="Powerful desk calculator language"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="MIT"
|
|
homepage="https://nickle.org/"
|
|
distfiles="https://nickle.org/release/${pkgname}-${version}.tar.gz"
|
|
checksum=aaa8c96c31e533f238e03b1d91d6a6b5e95bed25a8b89a48d64d67fcfe8c7e89
|
|
|
|
pre_build() {
|
|
make CC="$BUILD_CC" CFLAGS="$BUILD_CFLAGS" \
|
|
LD="ld" LDFLAGS="$BUILD_LDFLAGS" LIBS="-lm" \
|
|
-C test math-tables
|
|
}
|
|
post_install() {
|
|
vmkdir usr/share/examples
|
|
mv ${DESTDIR}/usr/share/nickle/examples ${DESTDIR}/usr/share/examples/nickle
|
|
rm -rf ${DESTDIR}/usr/include
|
|
vlicense COPYING
|
|
}
|