Mercurial > mxe-octave
annotate src/smpeg.mk @ 306:85ffa9259036
validate downloads using SHA-1 checksums
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Sun, 05 Apr 2009 14:00:17 +0200 |
parents | 5bf9071e67b6 |
children | 37fc68af2e18 |
rev | line source |
---|---|
160
c910739ef7ed
translated package: smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
1 # smpeg |
c910739ef7ed
translated package: smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
2 # http://packages.debian.org/unstable/source/smpeg |
c910739ef7ed
translated package: smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
3 |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
4 PKG := smpeg |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
5 $(PKG)_VERSION := 0.4.5+cvs20030824 |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
6 $(PKG)_CHECKSUM := d3460181f4b5e79b33f3bf4e9642a4fe6f98bc89 |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
7 $(PKG)_SUBDIR := smpeg-$($(PKG)_VERSION).orig |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
8 $(PKG)_WEBSITE := http://icculus.org/smpeg/ |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
9 $(PKG)_FILE := smpeg_$($(PKG)_VERSION).orig.tar.gz |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
10 $(PKG)_URL := http://ftp.debian.org/debian/pool/main/s/smpeg/$($(PKG)_FILE) |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
11 $(PKG)_DEPS := gcc sdl |
160
c910739ef7ed
translated package: smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 |
c910739ef7ed
translated package: smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
13 define $(PKG)_UPDATE |
c910739ef7ed
translated package: smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
14 wget -q -O- 'http://packages.debian.org/unstable/source/smpeg' | \ |
c910739ef7ed
translated package: smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 $(SED) -n 's,.*smpeg_\([0-9][^>]*\)\.orig\.tar.*,\1,p' | \ |
c910739ef7ed
translated package: smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 head -1 |
c910739ef7ed
translated package: smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 endef |
c910739ef7ed
translated package: smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 |
c910739ef7ed
translated package: smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 define $(PKG)_BUILD |
c910739ef7ed
translated package: smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 cd '$(1)' && ./configure \ |
224
879f74dc81eb
portability fix for MacOS X
Volker Grabsch <vog@notjusthosting.com>
parents:
160
diff
changeset
|
21 AR='$(TARGET)-ar' \ |
160
c910739ef7ed
translated package: smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
22 NM='$(TARGET)-nm' \ |
c910739ef7ed
translated package: smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
23 --host='$(TARGET)' \ |
c910739ef7ed
translated package: smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
24 --disable-shared \ |
c910739ef7ed
translated package: smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
25 --disable-debug \ |
c910739ef7ed
translated package: smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
26 --prefix='$(PREFIX)/$(TARGET)' \ |
c910739ef7ed
translated package: smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
27 --with-sdl-prefix='$(PREFIX)/$(TARGET)' \ |
c910739ef7ed
translated package: smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
28 --disable-sdltest \ |
c910739ef7ed
translated package: smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
29 --disable-gtk-player \ |
c910739ef7ed
translated package: smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
30 --disable-opengl-player \ |
c910739ef7ed
translated package: smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
31 CFLAGS='-ffriend-injection' |
c910739ef7ed
translated package: smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
32 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |
c910739ef7ed
translated package: smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
33 endef |