]> git.ipfire.org Git - people/ms/ipfire-3.x.git/commitdiff
python: Move some needed files to main package.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 1 Oct 2010 21:16:44 +0000 (23:16 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 1 Oct 2010 21:16:44 +0000 (23:16 +0200)
pkgs/core/python/python.nm

index 44a60ae7bcec02cf063ef9b316b1b5ad5ec1a597..fea6bdd26d8c07668c8918334c32bea71e4aa186 100644 (file)
@@ -50,6 +50,10 @@ PKG_TARBALL    = $(THISAPP).tgz
 
 PKG_PACKAGES  += $(PKG_NAME_REAL)-devel
 
+PKG_FILES-$(PKG_NAME_REAL)-devel += \
+       !/usr/lib/python*/config/Makefile \
+       !/usr/include/python*/pyconfig.h
+
 export CFLAGS  += -D_GNU_SOURCE -fwrapv
 export CPPFLAGS = $(shell pkg-config --cflags-only-I libffi)
 
@@ -81,8 +85,6 @@ endef
 define STAGE_INSTALL
        cd $(DIR_APP) && make install DESTDIR=$(BUILDROOT)
 
-       rm -rf $(BUILDROOT)/usr/lib/python*/test/
-
        # All *.py files don't need to be executeable...
        find $(BUILDROOT)/usr/lib/python*/ -name "*.py" | xargs chmod a-x -v
 endef