~ubuntu-branches/ubuntu/precise/vlc/precise-proposed

« back to all changes in this revision

Viewing changes to contrib/src/src/libmpeg2/rules.mak

  • Committer: Package Import Robot
  • Author(s): Benjamin Drung
  • Date: 2012-03-24 01:33:03 UTC
  • mfrom: (1.1.46) (3.5.39 sid)
  • Revision ID: package-import@ubuntu.com-20120324013303-km51kpl9kixydb8g
Really add the preinst from Didier Raboud to vlc to drop it's doc directory
before unpacking a symlink to vlc-nox's over it. (Closes: #613121, #662217)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# libmpeg2
2
 
 
3
 
LIBMPEG2_VERSION = 0.5.1
4
 
LIBMPEG2_URL := http://libmpeg2.sourceforge.net/files/libmpeg2-$(LIBMPEG2_VERSION).tar.gz
5
 
 
6
 
PKGS += libmpeg2
7
 
ifeq ($(call need_pkg,"libmpeg2"),)
8
 
PKGS_FOUND += libmpeg2
9
 
endif
10
 
 
11
 
$(TARBALLS)/libmpeg2-$(LIBMPEG2_VERSION).tar.gz:
12
 
        $(call download,$(LIBMPEG2_URL))
13
 
 
14
 
.sum-libmpeg2: libmpeg2-$(LIBMPEG2_VERSION).tar.gz
15
 
 
16
 
libmpeg2: libmpeg2-$(LIBMPEG2_VERSION).tar.gz .sum-libmpeg2
17
 
        $(UNPACK)
18
 
        $(APPLY) $(SRC)/libmpeg2/libmpeg2-arm-pld.patch
19
 
        $(APPLY) $(SRC)/libmpeg2/libmpeg2-mc-neon.patch
20
 
        $(UPDATE_AUTOCONFIG) && cd $(UNPACK_DIR) && mv config.guess config.sub .auto
21
 
        $(MOVE)
22
 
 
23
 
.libmpeg2: libmpeg2
24
 
        cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --without-x --disable-sdl
25
 
        cd $</libmpeg2 && make && make install
26
 
        cd $</include && make && make install
27
 
        touch $@