]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
gmp: Add testsuite.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 16 Jan 2010 19:04:05 +0000 (20:04 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 16 Jan 2010 19:04:05 +0000 (20:04 +0100)
pkgs/core/gmp/gmp.nm

index 1a4c630db7aa95b2a51cc23ed140fa5253ce59c2..ccac590c55a54e33aed07bc917a6c930c3b07af2 100644 (file)
@@ -62,7 +62,6 @@ define STAGE_BUILD
        cd $(DIR_APP) && \
                ABI=$(ABI) \
                ./configure \
-                       $(CONFIGURE_ARCH) \
                        --prefix=/usr \
                        --enable-cxx \
                        --enable-mpbsd \
@@ -70,3 +69,15 @@ define STAGE_BUILD
 
        cd $(DIR_APP) && make $(PARALLELISMFLAGS)
 endef
+
+define STAGE_TEST
+       cd $(DIR_APP) && make check
+endef
+
+define STAGE_INSTALL
+       cd $(DIR_APP) && make install DESTDIR=$(BUILDROOT)
+
+       -mkdir -pv $(BUILDROOT)/usr/share/doc/$(THISAPP)
+       cd $(DIR_APP) && cp -vf doc/{isa_abi_headache,configuration} doc/*.html \
+         $(BUILDROOT)/usr/share/doc/$(THISAPP)
+endef