annotate src/lzo.mk @ 2988:aca8511e7751

qt.mk: link to correct files in bin directory
author John W. Eaton <jwe@octave.org>
date Thu, 16 May 2013 13:32:57 -0400
parents 47558e958113
children 100e618349f7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 2051
diff changeset
1 # This file is part of MXE.
2353
99516e73b368 Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents: 2349
diff changeset
2 # See index.html for further information.
2051
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
3
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
4 PKG := lzo
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
6 $(PKG)_CHECKSUM := a11768b8a168ec607750842bbef406f11547b904
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
7 $(PKG)_SUBDIR := lzo-$($(PKG)_VERSION)
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
8 $(PKG)_FILE := lzo-$($(PKG)_VERSION).tar.gz
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
9 $(PKG)_URL := http://www.oberhumer.com/opensource/lzo/download/$($(PKG)_FILE)
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
10 $(PKG)_DEPS := gcc
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
11
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
12 define $(PKG)_UPDATE
2525
4d0f3a9da57e all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents: 2365
diff changeset
13 $(WGET) -q -O- 'http://www.oberhumer.com/opensource/lzo/download/' | \
2051
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
14 grep 'lzo-' | \
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
15 grep -v 'minilzo-' | \
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
16 $(SED) -n 's,.*lzo-\([0-9][^>]*\)\.tar.*,\1,p' | \
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
17 tail -1
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
18 endef
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
19
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
20 define $(PKG)_BUILD
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
21 cd '$(1)' && ./configure \
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
22 --host='$(TARGET)' \
2855
47558e958113 Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents: 2525
diff changeset
23 $(ENABLE_SHARED_OR_STATIC) \
2051
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
24 --prefix='$(PREFIX)/$(TARGET)'
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
25 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
26 endef