Merge branch 'master' of mathias-kettner.de:omd
[omd.git] / packages / patch / Makefile
blobb7d965f07b06c0e529c38c61c34b9385bc6ffca1
1 include ../../Makefile.omd
3 NAME = patch
4 VERSION = 2.6
5 DIR = patch-$(VERSION)
7 .PHONY: skel
9 build:
10 test -f patch-${VERSION}.tar.gz || wget "ftp://ftp.gnu.org/gnu/patch/patch-${VERSION}.tar.gz"
11 tar xzf patch-$(VERSION).tar.gz
12 cd $(DIR) && ./configure --prefix=$(OMD_ROOT)
13 cd $(DIR) && $(MAKE)
15 install:
16 $(MAKE) DESTDIR=$(DESTDIR) -C $(DIR) install
18 skel:
20 clean:
21 rm -rf $(DIR)