annotate src/libntlm.mk @ 1892:0a2d3b249644

update packages fltk libntlm
author Mark Brand <mabrand@mabrand.nl>
date Mon, 20 Jun 2011 20:27:01 +0200
parents 77ecd36317c2
children 93ed337d4c17
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
641
dab071eac9c0 simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents: 535
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: 407
diff changeset
3
233
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 # Libntlm
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
5 PKG := libntlm
448
e9afec55fd6b improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents: 417
diff changeset
6 $(PKG)_IGNORE :=
1892
0a2d3b249644 update packages fltk libntlm
Mark Brand <mabrand@mabrand.nl>
parents: 840
diff changeset
7 $(PKG)_VERSION := 1.3
0a2d3b249644 update packages fltk libntlm
Mark Brand <mabrand@mabrand.nl>
parents: 840
diff changeset
8 $(PKG)_CHECKSUM := 5dd798d5fb9a75656225052aa88ceb9befbbd4a0
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
9 $(PKG)_SUBDIR := libntlm-$($(PKG)_VERSION)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
10 $(PKG)_FILE := libntlm-$($(PKG)_VERSION).tar.gz
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
11 $(PKG)_WEBSITE := http://josefsson.org/libntlm/
1892
0a2d3b249644 update packages fltk libntlm
Mark Brand <mabrand@mabrand.nl>
parents: 840
diff changeset
12 $(PKG)_URL := http://www.nongnu.org/libntlm/releases//$($(PKG)_FILE)
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
13 $(PKG)_DEPS := gcc
233
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 define $(PKG)_UPDATE
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 wget -q -O- 'http://git.savannah.gnu.org/gitweb/?p=libntlm.git;a=tags' | \
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 grep '<a class="list subject"' | \
840
77ecd36317c2 corrected version recognition regexes of many packages
Volker Grabsch <vog@notjusthosting.com>
parents: 759
diff changeset
18 $(SED) -n 's,.*<a[^>]*>\([0-9][^<]*\)<.*,\1,p' | \
233
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 head -1
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 endef
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 define $(PKG)_BUILD
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 # wine confuses the cross-compiling detection, so set it explicitly
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
24 $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/configure'
233
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 cd '$(1)' && ./configure \
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 --host='$(TARGET)' \
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 --disable-shared \
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 --prefix='$(PREFIX)/$(TARGET)'
407
80f8bb0d7730 disable intra-package parallel build for package libntlm
Volker Grabsch <vog@notjusthosting.com>
parents: 377
diff changeset
29 $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
233
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 endef