annotate src/libntlm.mk @ 265:5bf9071e67b6

put all package's project websites into Make variables $($(PKG)_WEBSITE)
author Volker Grabsch <vog@notjusthosting.com>
date Sun, 01 Mar 2009 16:35:21 +0100
parents 53c1328998f6
children 85ffa9259036
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
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3 PKG := libntlm
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 $(PKG)_VERSION := 1.0
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 $(PKG)_SUBDIR := libntlm-$($(PKG)_VERSION)
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
6 $(PKG)_FILE := libntlm-$($(PKG)_VERSION).tar.gz
265
5bf9071e67b6 put all package's project websites into Make variables $($(PKG)_WEBSITE)
Volker Grabsch <vog@notjusthosting.com>
parents: 233
diff changeset
7 $(PKG)_WEBSITE := http://josefsson.org/libntlm/
233
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_URL := http://josefsson.org/libntlm/releases/$($(PKG)_FILE)
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_DEPS := gcc
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11 define $(PKG)_UPDATE
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 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
13 grep '<a class="list subject"' | \
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14 $(SED) -n 's,.*<a[^>]*>\([0-9][^>]*\)<.*,\1,p' | \
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 head -1
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 endef
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 define $(PKG)_BUILD
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 # 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
20 $(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
21 cd '$(1)' && ./configure \
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 --host='$(TARGET)' \
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 --disable-shared \
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --prefix='$(PREFIX)/$(TARGET)'
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
53c1328998f6 new package: libntlm (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 endef