31 lines
651 B
Plaintext
31 lines
651 B
Plaintext
|
# Description: To create nice user interfaces to shell scripts or other scripting languages.
|
||
|
# URL: http://hightek.org/dialog/
|
||
|
# Maintainer: Thomas E. Dickey dickey at invisible-island dot net
|
||
|
# Packager: tnut at nutyx dot org
|
||
|
|
||
|
PKGMK_GROUPS=(devel man)
|
||
|
|
||
|
name=dialog
|
||
|
version=1.2.20140911
|
||
|
release=1
|
||
|
|
||
|
source=(ftp://dickey.his.com/dialog/$name-1.2-20140911.tgz)
|
||
|
|
||
|
build() {
|
||
|
cd $name-1.2-20140911
|
||
|
./configure --prefix=/usr \
|
||
|
--enable-nls --bindir=/bin \
|
||
|
--with-ncursesw \
|
||
|
--mandir=/usr/share/man
|
||
|
make
|
||
|
make DESTDIR=$PKG install
|
||
|
}
|
||
|
devel() {
|
||
|
cd $PKG
|
||
|
bsdtar -cf \
|
||
|
$PKGMK_PACKAGE_DIR/$name.devel#$version-`uname -m`.$PKGMK_PACKAGE_EXT \
|
||
|
usr/lib
|
||
|
|
||
|
rm -r usr/lib
|
||
|
}
|