diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2008-11-09 00:18:54 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2008-11-09 00:18:54 (GMT) |
commit | 75aaac35aa92b0657470aa800660ca8979eb3dbf (patch) | |
tree | 80a2292ddf6a10c0304d83e774b2e30e5cb44e18 /src/smpeg.mk | |
parent | 75ce12fadd1b31e2ec5d744079819b16356aa700 (diff) | |
download | mxe-75aaac35aa92b0657470aa800660ca8979eb3dbf.zip mxe-75aaac35aa92b0657470aa800660ca8979eb3dbf.tar.gz mxe-75aaac35aa92b0657470aa800660ca8979eb3dbf.tar.bz2 |
translated package: smpeg
Diffstat (limited to 'src/smpeg.mk')
-rw-r--r-- | src/smpeg.mk | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/smpeg.mk b/src/smpeg.mk new file mode 100644 index 0000000..7c8e91d --- /dev/null +++ b/src/smpeg.mk @@ -0,0 +1,31 @@ +# smpeg +# http://icculus.org/smpeg/ +# http://packages.debian.org/unstable/source/smpeg + +PKG := smpeg +$(PKG)_VERSION := 0.4.5+cvs20030824 +$(PKG)_SUBDIR := smpeg-$($(PKG)_VERSION).orig +$(PKG)_FILE := smpeg_$($(PKG)_VERSION).orig.tar.gz +$(PKG)_URL := http://ftp.debian.org/debian/pool/main/s/smpeg/$($(PKG)_FILE) +$(PKG)_DEPS := gcc sdl + +define $(PKG)_UPDATE + wget -q -O- 'http://packages.debian.org/unstable/source/smpeg' | \ + $(SED) -n 's,.*smpeg_\([0-9][^>]*\)\.orig\.tar.*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + cd '$(1)' && ./configure \ + NM='$(TARGET)-nm' \ + --host='$(TARGET)' \ + --disable-shared \ + --disable-debug \ + --prefix='$(PREFIX)/$(TARGET)' \ + --with-sdl-prefix='$(PREFIX)/$(TARGET)' \ + --disable-sdltest \ + --disable-gtk-player \ + --disable-opengl-player \ + CFLAGS='-ffriend-injection' + $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= +endef |