28 lines
633 B
Plaintext
28 lines
633 B
Plaintext
# Template file for 'mg'
|
|
pkgname=mg
|
|
version=20110905
|
|
revision=3
|
|
makedepends="ncurses-devel"
|
|
homepage="http://homepage.boetes.org/software/mg"
|
|
short_desc="Micro GNU/emacs"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="Public Domain"
|
|
distfiles="$homepage/mg-$version.tar.gz"
|
|
checksum=1cd37d7e6a3eecc890a5718c38b8f38495057ba93856762a756ccee2f9618229
|
|
|
|
do_configure() {
|
|
if [ "$CROSS_BUILD" ]; then
|
|
sed -e "s,/usr/include,$XBPS_CROSS_BASE/include,g" -i configure
|
|
fi
|
|
CC="$CC" ./configure
|
|
}
|
|
|
|
do_build() {
|
|
make CC="$CC" CFLAGS="$CFLAGS" ${makejobs}
|
|
}
|
|
|
|
do_install() {
|
|
vinstall mg 755 usr/bin
|
|
vinstall mg.1 644 usr/share/man/man1
|
|
}
|