]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
newt: Exclude python module from package.
authorStefan Schantl <stefan.schantl@ipfire.org>
Wed, 6 Jul 2011 20:01:26 +0000 (22:01 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Wed, 6 Jul 2011 20:01:26 +0000 (22:01 +0200)
Fixes #210.

pkgs/newt/newt.nm

index 9e5f3e569e491ae2165eefdb0d42fd441f458dd1..65d41d0c6cefaab92dc18d77a00022944b3e3630 100644 (file)
@@ -26,7 +26,7 @@ include $(PKGROOT)/Include
 
 PKG_NAME       = newt
 PKG_VER        = 0.52.10
-PKG_REL        = 0
+PKG_REL        = 1
 
 PKG_MAINTAINER =
 PKG_GROUPS     = System/Libraries
@@ -34,8 +34,14 @@ PKG_URL        = https://fedorahosted.org/releases/n/e/newt/
 PKG_LICENSE    = LGPLv2
 PKG_SUMMARY    = A library for text mode user interfaces.
 
+PKG_PACKAGES  += newt-devel newt-python
 PKG_BUILD_DEPS+= popt-devel python-devel slang-devel
 
+PKG_SUMMARY-newt-python     = Python bindings for newt.
+PKG_DESCRIPTION-newt-python = $(PKG_SUMMARY-newt-python)
+PKG_PROVIDES-newt-python   += python-newt python-snack
+PKG_FILES-newt-python       = /usr/lib/python*/site-packages/*snack*
+
 define PKG_DESCRIPTION
        Newt is a programming library for color text mode, widget based user \
        interfaces.  Newt can be used to add stacked windows, entry widgets, \
@@ -48,8 +54,6 @@ endef
 
 PKG_TARBALL    = $(THISAPP).tar.gz
 
-PKG_PACKAGES  += $(PKG_NAME)-devel
-
 CONFIGURE_OPTIONS += \
        --without-gpm-support \
        --without-tcl