annotate src/libntlm.mk @ 407:80f8bb0d7730

disable intra-package parallel build for package libntlm
author Volker Grabsch <vog@notjusthosting.com>
date Tue, 07 Jul 2009 19:25:18 +0200
parents 61e5dba7175b
children d2a6561bcb6d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
233
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
1 # Libntlm
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
2
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
3 PKG := libntlm
377
61e5dba7175b update version of packages atk, curl, gcc, gdal, glib, gnutls, gtk, libevent, libidn, libntlm, libpng, nsis, pango, pdflib_lite, pixman, sqlite, tre and xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents: 306
diff changeset
4 $(PKG)_VERSION := 1.1
61e5dba7175b update version of packages atk, curl, gcc, gdal, glib, gnutls, gtk, libevent, libidn, libntlm, libpng, nsis, pango, pdflib_lite, pixman, sqlite, tre and xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents: 306
diff changeset
5 $(PKG)_CHECKSUM := d7608bea4820cdf879a5b10bc956391fb3973f08
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
6 $(PKG)_SUBDIR := libntlm-$($(PKG)_VERSION)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
7 $(PKG)_FILE := libntlm-$($(PKG)_VERSION).tar.gz
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
8 $(PKG)_WEBSITE := http://josefsson.org/libntlm/
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
9 $(PKG)_URL := http://josefsson.org/libntlm/releases/$($(PKG)_FILE)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
10 $(PKG)_DEPS := gcc
233
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 define $(PKG)_UPDATE
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 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
14 grep '<a class="list subject"' | \
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 $(SED) -n 's,.*<a[^>]*>\([0-9][^>]*\)<.*,\1,p' | \
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 head -1
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 endef
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 define $(PKG)_BUILD
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 # wine confuses the cross-compiling detection, so set it explicitly
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 $(SED) 's,cross_compiling=no,cross_compiling=yes,' -i '$(1)/configure'
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 cd '$(1)' && ./configure \
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 --host='$(TARGET)' \
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --disable-shared \
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 --prefix='$(PREFIX)/$(TARGET)'
407
80f8bb0d7730 disable intra-package parallel build for package libntlm
Volker Grabsch <vog@notjusthosting.com>
parents: 377
diff changeset
26 $(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
27 endef