smlinux/base/highlight/highlight.SMBuild

30 lines
755 B
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=highlight
version=4.0
build=2sml
homepage="http://www.andre-simon.de/doku/highlight/en/highlight.php"
download="http://www.andre-simon.de/zip/highlight-$version.tar.bz2"
desc="Universal syntax highlighter"
requires="gcc-libs musl lua53 readline netbsd-curses"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
make
make install PREFIX="/" doc_dir="/share/doc/$app-$version" DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
173f05bd89523a26f4e950c829b74b01128842e9dc92563a09a62d7d244dcf5b1787d127c0468512614588fa05b9a1bfa817c3a725946cf48a7661451a5a0dfe highlight-4.0.tar.lz
"