Mercurial > mxe-octave
annotate src/pdcurses.mk @ 714:29f1ba4559ae
point consequently to "doc/index.html" instead of "doc/index.html or doc/README"
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Mon, 08 Feb 2010 00:58:06 +0100 |
parents | dab071eac9c0 |
children | bf4bcb3370fa |
rev | line source |
---|---|
641
dab071eac9c0
simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents:
522
diff
changeset
|
1 # This file is part of mingw-cross-env. |
714
29f1ba4559ae
point consequently to "doc/index.html" instead of "doc/index.html or doc/README"
Volker Grabsch <vog@notjusthosting.com>
parents:
641
diff
changeset
|
2 # See doc/index.html for further information. |
414
d2a6561bcb6d
add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents:
408
diff
changeset
|
3 |
128
934257e8c8aa
translated package: pdcurses
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
4 # PDcurses |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
285
diff
changeset
|
5 PKG := pdcurses |
448
e9afec55fd6b
improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents:
422
diff
changeset
|
6 $(PKG)_IGNORE := |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
285
diff
changeset
|
7 $(PKG)_VERSION := 3.4 |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
285
diff
changeset
|
8 $(PKG)_CHECKSUM := e36684442a6171cc3a5165c8c49c70f67db7288c |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
285
diff
changeset
|
9 $(PKG)_SUBDIR := PDCurses-$($(PKG)_VERSION) |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
285
diff
changeset
|
10 $(PKG)_FILE := PDCurses-$($(PKG)_VERSION).tar.gz |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
285
diff
changeset
|
11 $(PKG)_WEBSITE := http://pdcurses.sourceforge.net/ |
422
d2f5eb27e051
improved download URLs for all SourceForge packages to ensure that the selected SOURCEFORGE_MIRROR is really used
Volker Grabsch <vog@notjusthosting.com>
parents:
417
diff
changeset
|
12 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/pdcurses/pdcurses/$($(PKG)_VERSION)/$($(PKG)_FILE) |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
285
diff
changeset
|
13 $(PKG)_DEPS := gcc |
128
934257e8c8aa
translated package: pdcurses
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
14 |
934257e8c8aa
translated package: pdcurses
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 define $(PKG)_UPDATE |
408
413750a629be
improved version recognition for sourceforge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
306
diff
changeset
|
16 $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/pdcurses/files/pdcurses/) | \ |
128
934257e8c8aa
translated package: pdcurses
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 $(SED) -n 's,.*PDCurses-\([0-9][^>]*\)\.tar.*,\1,p' | \ |
408
413750a629be
improved version recognition for sourceforge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
306
diff
changeset
|
18 tail -1 |
128
934257e8c8aa
translated package: pdcurses
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 endef |
934257e8c8aa
translated package: pdcurses
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 |
934257e8c8aa
translated package: pdcurses
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 define $(PKG)_BUILD |
131
ed98f6b98e35
use $(1) instead of $(2) to address to temporary build dir
Volker Grabsch <vog@notjusthosting.com>
parents:
128
diff
changeset
|
22 $(SED) 's,copy,cp,' -i '$(1)/win32/mingwin32.mak' |
ed98f6b98e35
use $(1) instead of $(2) to address to temporary build dir
Volker Grabsch <vog@notjusthosting.com>
parents:
128
diff
changeset
|
23 $(MAKE) -C '$(1)' -j '$(JOBS)' libs -f '$(1)/win32/mingwin32.mak' \ |
128
934257e8c8aa
translated package: pdcurses
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
24 CC='$(TARGET)-gcc' \ |
934257e8c8aa
translated package: pdcurses
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
25 LIBEXE='$(TARGET)-ar' \ |
934257e8c8aa
translated package: pdcurses
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
26 DLL=N \ |
934257e8c8aa
translated package: pdcurses
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
27 PDCURSES_SRCDIR=. \ |
934257e8c8aa
translated package: pdcurses
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
28 WIDE=Y \ |
934257e8c8aa
translated package: pdcurses
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
29 UTF8=Y |
131
ed98f6b98e35
use $(1) instead of $(2) to address to temporary build dir
Volker Grabsch <vog@notjusthosting.com>
parents:
128
diff
changeset
|
30 $(TARGET)-ranlib '$(1)/pdcurses.a' '$(1)/panel.a' |
285
08a32251156c
portability fix for Open Solaris: when "ginstall" exists, use that instead of "install"
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
31 $(INSTALL) -d '$(PREFIX)/$(TARGET)/include/' |
08a32251156c
portability fix for Open Solaris: when "ginstall" exists, use that instead of "install"
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
32 $(INSTALL) -m644 '$(1)/curses.h' '$(1)/panel.h' '$(1)/term.h' '$(PREFIX)/$(TARGET)/include/' |
08a32251156c
portability fix for Open Solaris: when "ginstall" exists, use that instead of "install"
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
33 $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib/' |
08a32251156c
portability fix for Open Solaris: when "ginstall" exists, use that instead of "install"
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
34 $(INSTALL) -m644 '$(1)/pdcurses.a' '$(PREFIX)/$(TARGET)/lib/libpdcurses.a' |
08a32251156c
portability fix for Open Solaris: when "ginstall" exists, use that instead of "install"
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
35 $(INSTALL) -m644 '$(1)/panel.a' '$(PREFIX)/$(TARGET)/lib/libpanel.a' |
128
934257e8c8aa
translated package: pdcurses
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
36 endef |