diff --git a/srcpkgs/vcp/patches/no-include.patch b/srcpkgs/vcp/patches/no-include.patch new file mode 100644 index 00000000000..ed4080f4dda --- /dev/null +++ b/srcpkgs/vcp/patches/no-include.patch @@ -0,0 +1,11 @@ +--- Makefile.orig 2014-07-03 15:23:38.483184116 +0200 ++++ Makefile 2014-07-03 15:24:18.290782721 +0200 +@@ -7,7 +7,7 @@ + $(CC) $(CFLAGS) -o vcp $(OBJS) -lcurses + + .c.o: +- $(CC) $(CFLAGS) -c -I/usr/include/ -o $@ $< ++ $(CC) $(CFLAGS) -c -o $@ $< + .SUFFIXS: .c .o + + install: diff --git a/srcpkgs/vcp/template b/srcpkgs/vcp/template new file mode 100644 index 00000000000..587ae446040 --- /dev/null +++ b/srcpkgs/vcp/template @@ -0,0 +1,21 @@ +# Template file for 'vcp' +pkgname=vcp +version=2.2 +revision=1 +build_style=gnu-makefile +maintainer="Dominik Honnef " +license="3-clause-BSD" +makedepends=ncurses-devel +depends=ncurses +conf_files="/etc/vcp.conf" +homepage="http://members.iinet.net.au/~lynx/vcp/" +short_desc="copy files/directories in a curses interface" +distfiles="http://members.iinet.net.au/~lynx/vcp/${pkgname}-${version}.tar.gz" +checksum=2827f09e46e975bdd079f7ad826d29dd6eafa567dcb9059b7fb2a9a49f931b01 + +do_install() { + vinstall vcp 755 usr/bin + vinstall vcp.1 644 usr/share/man/man1 + vinstall vcp.conf.sample 644 etc/ vcp.conf + vinstall COPYRIGHT 644 /usr/share/license/${pkgname} +}