annotate src/xvidcore.mk @ 1880:94df9b4e71ae

upgrade packages: dbus fltk geos glib gnutls imagemagick lcms libass libevent libgsf pfstools x264 xvidcore xz
author Mark Brand <mabrand@mabrand.nl>
date Wed, 08 Jun 2011 08:53:36 +0200
parents 8aba3acd6389
children c6831f324cc3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1023
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
1 # This file is part of mingw-cross-env.
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
2 # See doc/index.html for further information.
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 # xvidcore
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 PKG := xvidcore
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
6 $(PKG)_IGNORE :=
1880
94df9b4e71ae upgrade packages: dbus fltk geos glib gnutls imagemagick lcms libass libevent libgsf pfstools x264 xvidcore xz
Mark Brand <mabrand@mabrand.nl>
parents: 1714
diff changeset
7 $(PKG)_VERSION := 1.3.2
94df9b4e71ae upgrade packages: dbus fltk geos glib gnutls imagemagick lcms libass libevent libgsf pfstools x264 xvidcore xz
Mark Brand <mabrand@mabrand.nl>
parents: 1714
diff changeset
8 $(PKG)_CHECKSUM := 56e065d331545ade04c63c91153b9624b51d6e1b
1023
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_SUBDIR := xvidcore/build/generic
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_FILE := xvidcore-$($(PKG)_VERSION).tar.gz
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11 $(PKG)_WEBSITE := http://www.xvid.org/
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 $(PKG)_URL := http://downloads.xvid.org/downloads/$($(PKG)_FILE)
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 $(PKG)_DEPS := gcc pthreads
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 define $(PKG)_UPDATE
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 wget -q -O- 'http://www.xvid.org/' | \
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 $(SED) -n 's,.*Xvid \([0-9][^ ]*\) .*,\1,p' | \
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 head -1
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 endef
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 define $(PKG)_BUILD
1714
8aba3acd6389 don't remove the "-mno-cygwin" flag, but provide clean bugfixes instead for packages fltk and xvidcore
Mark Brand <mabrand@mabrand.nl>
parents: 1696
diff changeset
22 cd '$(1)' && autoconf
1041
db1081a60679 wine fix for package xvidcore (by Tony Theodore)
Volker Grabsch <vog@notjusthosting.com>
parents: 1025
diff changeset
23 # wine confuses the cross-compiling detection, so set it explicitly
db1081a60679 wine fix for package xvidcore (by Tony Theodore)
Volker Grabsch <vog@notjusthosting.com>
parents: 1025
diff changeset
24 $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/configure'
1025
d563764317d0 remove the unnecessary call to ./bootstrap.sh in package xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents: 1023
diff changeset
25 cd '$(1)' && ./configure \
1023
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 --host='$(TARGET)' \
1265
038474ea27af package xvidcore: enable assembly since yasm is now present
Tony Theodore <tonyt@logyst.com>
parents: 1259
diff changeset
27 --prefix='$(PREFIX)/$(TARGET)'
1023
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 $(MAKE) -C '$(1)' -j '$(JOBS)' BUILD_DIR='build' SHARED_LIB=
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 $(INSTALL) -d '$(PREFIX)/$(TARGET)/include'
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 $(INSTALL) -m644 '$(1)/../../src/xvid.h' '$(PREFIX)/$(TARGET)/include/'
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
31 $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib'
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
32 $(INSTALL) -m644 '$(1)/build/xvidcore.a' '$(PREFIX)/$(TARGET)/lib/'
1259
8ab68c8615ca improve ffmpeg: move link creation to respective packages
Tony Theodore <tonyt@logyst.com>
parents: 1041
diff changeset
33 ln -sf $(PREFIX)/$(TARGET)/lib/xvidcore.a $(PREFIX)/$(TARGET)/lib/libxvidcore.a
1023
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
34 endef