summaryrefslogtreecommitdiffstats
path: root/contrib/xvidcore/module.defs
blob: c45059b23dcf93e701ab6f9ec18cd728aeb16d41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$(eval $(call import.MODULE.defs,XVIDCORE,xvidcore))
$(eval $(call import.CONTRIB.defs,XVIDCORE))

XVIDCORE.FETCH.url = http://download.m0k.org/handbrake/contrib/xvidcore-1.1.3.tar.gz
XVIDCORE.EXTRACT.tarbase = xvidcore

XVIDCORE.CONFIGURE.dir = $(XVIDCORE.EXTRACT.dir/)build/generic/

XVIDCORE.BUILD.dir      = $(XVIDCORE.EXTRACT.dir/)build/generic/
XVIDCORE.BUILD.ntargets = libxvidcore.a

define XVIDCORE.INSTALL
    cp $(XVIDCORE.EXTRACT.dir/)build/generic/=build/libxvidcore.a $(CONTRIB.build/)lib/
    cp $(XVIDCORE.EXTRACT.dir/)src/xvid.h $(CONTRIB.build/)include/
    $(TOUCH.exe) $@
endef

define XVIDCORE.UNINSTALL
    rm $(CONTRIB.build/)lib/libxvidcore.a
    rm $(CONTRIB.build/)include/xvid.h
    $(RM.exe) -f $(XVIDCORE.INSTALL.target)
endef