]> gitweb.fluxo.info Git - slackbuilds.git/commitdiff
twisted: rebuilt from mkbuild
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>
Mon, 17 Nov 2008 15:16:50 +0000 (15:16 +0000)
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>
Mon, 17 Nov 2008 15:16:50 +0000 (15:16 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1934 370017ae-e619-0410-ac65-c121f96126d4

dev/python/twisted/Twisted.SlackBuild
dev/python/twisted/slack-required

index 7f12d87b684348e455ce31251ac7a98bfee23b0b..5ec31db72ad59f1e8df6763b48759a1591275966 100644 (file)
 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
 #  Public License for more details.
 #
-#  You should have received a copy of the GNU General Public License along with
-#  this program; if not, write to the Free Software Foundation, Inc., 59 Temple
-#  Place - Suite 330, Boston, MA 02111-1307, USA
+#  You should have received a copy of the GNU General Public License along
+#  with this program; if not, write to the Free Software Foundation, Inc.,
+#  59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
 #
 # slackbuild for Twisted, by Rudson R. Alves
-# requires: glibc-solibs python 
+# requires: glibc-solibs python zope.interface 
 # tested: Twisted-2.5.0
 #
 
@@ -57,6 +57,7 @@ elif [ "$ARCH" = "s390" ]; then
 elif [ "$ARCH" = "x86_64" ]; then
   SLKCFLAGS="-O2 -fPIC"
   LIBDIR="$PREFIX/lib64"
+  LDFLAGS="-L/lib64 -L/usr/lib64"
 fi
 
 # Set error codes (used by createpkg)
@@ -86,11 +87,11 @@ fi
 # Untar
 cd "$PKG_WORK"
 tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TAR
-PKG_SRC="$PWD/`ls -l | awk '/^d/ { print $8 }'`"
+PKG_SRC="$PWD/`ls -l | awk '/^d/ { print $NF }'`"
 cd "$PKG_SRC"
 
 # Build and install package
-python setup.py build install --root=$PKG
+python setup.py build install --root=$PKG || exit $ERROR_INSTALL
 
 # Strip binaries
 ( cd "$PKG"
@@ -113,9 +114,9 @@ done
 mkdir -p "$PKG/install" || exit $ERROR_MKDIR
 cat << EODESC > "$PKG/install/slack-desc"
 # HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.  Line
+# The "handy ruler" below makes it easier to edit a package description. Line
 # up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in.  You must
+# on the right side marks the last column you can put a character in. You must
 # make exactly 11 lines for the formatting to be correct.  It's also
 # customary to leave one space after the ':'.
 
index 6afd7915f484ab60ae6a681091cfb54a8c5aafd3..e7d771a3aad5a0df4fa1ab3efeb16b60f2643cb5 100644 (file)
@@ -3,3 +3,4 @@
 # dependency [condition] [version]]
 glibc-solibs                           
 python                         
+zope.interface