Skip to content

Instantly share code, notes, and snippets.

@Gottox
Created March 20, 2014 09:01
Show Gist options
  • Save Gottox/9659866 to your computer and use it in GitHub Desktop.
Save Gottox/9659866 to your computer and use it in GitHub Desktop.
# Template file for 'zile'
pkgname=zile
version=2.4.10
revision=1
build_style=gnu-configure
hostmakedepends="help2man pkg-config"
makedepends="acl-devel gc-devel ncurses-devel"
short_desc="A small, fast, and powerful Emacs clone"
maintainer="Juan RP <[email protected]>"
license="GPL-3"
homepage="http://www.gnu.org/software/zile"
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
checksum=b6356ea51c0477cc3a5fe9ef01891ae80e603463633cd48a3a964c44e15c42b1
# help2man will fail on cross_build. Therefore trick Make to believe
# it builds the manpage.
if [ "$CROSS_BUILD" ]; then
configure_args+=" --with-help2man=/bin/true"
hostmakedepends+=" $pkgname>=$version_$revision"
pre_configure() {
touch doc/zile.1.in
}
post_install() {
cp /usr/share/man/man1/zile.1* $DESTDIR/usr/share/man/man1
}
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment