diff --git a/srcpkgs/cproto/template b/srcpkgs/cproto/template new file mode 100644 index 00000000000..ad1a421c140 --- /dev/null +++ b/srcpkgs/cproto/template @@ -0,0 +1,22 @@ +# Template file for 'cproto' +pkgname=cproto +version=4.7h +revision=1 +build_style=gnu-configure +hostmakedepends="flex" +short_desc="A program that generates function prototypes and variable declarations from C source code" +maintainer="Juan RP " +license="Public domain" +homepage="http://invisible-island.net/cproto/cproto.html" +distfiles="ftp://invisible-island.net/cproto/cproto-${version}.tgz" +checksum=6d030bc604119c42f53eae6689bc54b3d56208c743bba093efba5d0bfe52ce37 + +do_install() { + make bindir=${DESTDIR}/usr/bin mandir=${DESTDIR}/usr/share/man install +} + +cproto_package() { + pkg_install() { + vmove usr + } +}