New package: astyle-2.04.

This commit is contained in:
Juan RP 2013-12-30 17:23:39 +01:00
parent d700ea30f5
commit 36652ebb35

25
srcpkgs/astyle/template Normal file
View file

@ -0,0 +1,25 @@
# Template file for 'astyle'
pkgname=astyle
version=2.04
revision=1
wrksrc="$pkgname"
build_wrksrc="build/gcc"
build_style=gnu-makefile
short_desc="A free, fast and small automatic formatter for C, C++, C#, and Java source code"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-3"
homepage="http://astyle.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}_${version}_linux.tar.gz"
checksum=70b37f4853c418d1e2632612967eebf1bdb93dfbe558c51d7d013c9b4e116b60
do_install() {
vinstall bin/astyle 755 usr/bin
vmkdir usr/share/doc/html/astyle
install -m644 ../../doc/*.html ${DESTDIR}/usr/share/doc/html/astyle
}
astyle_package() {
pkg_install() {
vmove all
}
}