Mercurial > mxe-octave
annotate src/xvidcore.mk @ 2349:f48c5b085a38
Move $(PKG)_VERSION and $(PKG)_WEBSITE from src/*.mk into doc/index.html
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Thu, 29 Mar 2012 11:07:07 +0200 |
parents | f653602a0500 |
children | 99516e73b368 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2153
diff
changeset
|
1 # This file is part of MXE. |
1023 | 2 # See doc/index.html for further information. |
3 | |
4 # xvidcore | |
5 PKG := xvidcore | |
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)_CHECKSUM := 56e065d331545ade04c63c91153b9624b51d6e1b |
1023 | 8 $(PKG)_SUBDIR := xvidcore/build/generic |
9 $(PKG)_FILE := xvidcore-$($(PKG)_VERSION).tar.gz | |
10 $(PKG)_URL := http://downloads.xvid.org/downloads/$($(PKG)_FILE) | |
11 $(PKG)_DEPS := gcc pthreads | |
12 | |
13 define $(PKG)_UPDATE | |
14 wget -q -O- 'http://www.xvid.org/' | \ | |
15 $(SED) -n 's,.*Xvid \([0-9][^ ]*\) .*,\1,p' | \ | |
16 head -1 | |
17 endef | |
18 | |
19 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
|
20 cd '$(1)' && autoconf |
1025
d563764317d0
remove the unnecessary call to ./bootstrap.sh in package xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
1023
diff
changeset
|
21 cd '$(1)' && ./configure \ |
1023 | 22 --host='$(TARGET)' \ |
2153
e4c83fa61a5b
replaced $(BUILD) with a more direct and less brittle construct
Volker Grabsch <vog@notjusthosting.com>
parents:
2148
diff
changeset
|
23 --build="`config.guess`" \ |
1265
038474ea27af
package xvidcore: enable assembly since yasm is now present
Tony Theodore <tonyt@logyst.com>
parents:
1259
diff
changeset
|
24 --prefix='$(PREFIX)/$(TARGET)' |
1023 | 25 $(MAKE) -C '$(1)' -j '$(JOBS)' BUILD_DIR='build' SHARED_LIB= |
26 $(INSTALL) -d '$(PREFIX)/$(TARGET)/include' | |
27 $(INSTALL) -m644 '$(1)/../../src/xvid.h' '$(PREFIX)/$(TARGET)/include/' | |
28 $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib' | |
29 $(INSTALL) -m644 '$(1)/build/xvidcore.a' '$(PREFIX)/$(TARGET)/lib/' | |
1946
c6831f324cc3
improved coding style regarding creation of symlinks
Volker Grabsch <vog@notjusthosting.com>
parents:
1880
diff
changeset
|
30 ln -sf '$(PREFIX)/$(TARGET)/lib/xvidcore.a' '$(PREFIX)/$(TARGET)/lib/libxvidcore.a' |
1023 | 31 endef |