From 08a8f56e6c94d83b9ad4081f5a905ccf5bdaee02 Mon Sep 17 00:00:00 2001 From: Dominik Honnef Date: Thu, 3 Jul 2014 16:06:03 +0200 Subject: [PATCH] New package: vcp-2.2 --- srcpkgs/vcp/patches/no-include.patch | 11 +++++++++++ srcpkgs/vcp/template | 21 +++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 srcpkgs/vcp/patches/no-include.patch create mode 100644 srcpkgs/vcp/template diff --git a/srcpkgs/vcp/patches/no-include.patch b/srcpkgs/vcp/patches/no-include.patch new file mode 100644 index 0000000000..ed4080f4dd --- /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 0000000000..587ae44604 --- /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} +}