[csw-devel] SF.net SVN: gar:[18668] csw/mgar/pkg/libxvidcore/trunk/Makefile

pfelecan at users.sourceforge.net pfelecan at users.sourceforge.net
Mon Jul 9 11:16:33 CEST 2012


Revision: 18668
          http://gar.svn.sourceforge.net/gar/?rev=18668&view=rev
Author:   pfelecan
Date:     2012-07-09 09:16:11 +0000 (Mon, 09 Jul 2012)
Log Message:
-----------
libxvidcore/trunk: simplification and license addition; not splitted.

Modified Paths:
--------------
    csw/mgar/pkg/libxvidcore/trunk/Makefile

Modified: csw/mgar/pkg/libxvidcore/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libxvidcore/trunk/Makefile	2012-07-09 08:51:16 UTC (rev 18667)
+++ csw/mgar/pkg/libxvidcore/trunk/Makefile	2012-07-09 09:16:11 UTC (rev 18668)
@@ -10,25 +10,39 @@
   A high performance and high quality MPEG-4 video de-/encoding solution
 endef
 
-shortName		=	xvidcore
-WORKSRC			=	$(WORKDIR)/$(shortName)/build/generic
-PATCHDIR		=	$(WORKDIR)/$(shortName)
+DISTNAME		=	xvidcore
 MASTER_SITES	=	http://downloads.xvid.org/downloads/
-DISTFILES  		=	$(shortName)-$(VERSION).tar.gz
+DISTFILES  		=	$(DISTNAME)-$(VERSION).tar.gz
 PATCHFILES		+=	0001-Adapt-examples-build-and-bench.patch
 PATCHFILES		+=	0002-Map-instead-of-version.patch
 PATCHFILES		+=	0003-Generic-linker-soname-argument.patch
 
+LICENSE			=	LICENSE
 GARCOMPILER		=	GNU
 CONFIGURE_ARGS	=	$(DIRPATHS)
 CONFIGURE_ARGS	+=	--disable-assembly
 
+RUNTIME_DEP_PKGS	+=	CSWlibgcc-s1 
+
+CONFIGURE_SCRIPTS	=	custom
+BUILD_SCRIPTS		=	custom
 TEST_SCRIPTS	=
+INSTALL_SCRIPTS		=	custom
 
-RUNTIME_DEP_PKGS	+=	CSWlibgcc-s1 
-
 include gar/category.mk
 
+configure-custom:
+	cd $(WORKSRC)/build/generic && ./configure $(CONFIGURE_ARGS)
+	$(MAKECOOKIE)
+
+build-custom:
+	mgar --directory $(WORKSRC)/build/generic
+	$(MAKECOOKIE)
+
+install-custom:
+	mgar DESTDIR=$(DESTDIR) --directory $(WORKSRC)/build/generic install
+	$(MAKECOOKIE)
+
 post-install-modulated:
 	cd $(DESTDIR)/$(libdir) && ln -s libxvidcore.4.3.so libxvidcore.4.so
 	cd $(DESTDIR)/$(libdir) && ln -s libxvidcore.4.so libxvidcore.so

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list