Mercurial > mxe-octave
annotate src/pdcurses.mk @ 2333:f653602a0500
Rebrand to new project name MXE
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Wed, 28 Mar 2012 15:46:58 +0200 |
parents | 61dda1d437e2 |
children | f48c5b085a38 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
1462
diff
changeset
|
1 # This file is part of MXE. |
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 |
1462
61dda1d437e2
improved update script of packages: boost cppunit cunit expat freetype glew pcre pdcurses wxwidgets
Volker Grabsch <vog@notjusthosting.com>
parents:
1120
diff
changeset
|
16 wget -q -O- 'http://sourceforge.net/projects/pdcurses/files/pdcurses/' | \ |
1033
dd28c487a6b1
improved version recognition of packages: boost freetype gcc glew libgee mingwrt openssl pcre pdcurses w32api wxwidgets
Volker Grabsch <vog@notjusthosting.com>
parents:
759
diff
changeset
|
17 $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \ |
dd28c487a6b1
improved version recognition of packages: boost freetype gcc glew libgee mingwrt openssl pcre pdcurses w32api wxwidgets
Volker Grabsch <vog@notjusthosting.com>
parents:
759
diff
changeset
|
18 head -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 |
759
bf4bcb3370fa
changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
714
diff
changeset
|
22 $(SED) -i 's,copy,cp,' '$(1)/win32/mingwin32.mak' |
131
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 |