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
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: 2153
diff changeset
1 # This file is part of MXE.
1023
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)_CHECKSUM := 56e065d331545ade04c63c91153b9624b51d6e1b
1023
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_SUBDIR := xvidcore/build/generic
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_FILE := xvidcore-$($(PKG)_VERSION).tar.gz
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_URL := http://downloads.xvid.org/downloads/$($(PKG)_FILE)
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11 $(PKG)_DEPS := gcc pthreads
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14 wget -q -O- 'http://www.xvid.org/' | \
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 $(SED) -n 's,.*Xvid \([0-9][^ ]*\) .*,\1,p' | \
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 head -1
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 endef
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
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
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
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
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 $(MAKE) -C '$(1)' -j '$(JOBS)' BUILD_DIR='build' SHARED_LIB=
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 $(INSTALL) -d '$(PREFIX)/$(TARGET)/include'
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 $(INSTALL) -m644 '$(1)/../../src/xvid.h' '$(PREFIX)/$(TARGET)/include/'
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib'
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
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
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
31 endef