diff options
author | Jonathan Larsen <agentc0re@learnix.net> | 2010-04-08 23:32:35 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-15 10:27:11 +0200 |
commit | b1eacc4adc19f34f866042fdecc2fe190127dc67 (patch) | |
tree | 326d4bea1425d54252f74e00d56ca603bb7401be /libraries/pygoocanvas/pygoocanvas.SlackBuild | |
parent | 8e2cce97315928e472cb5c968b4274bbdbc46a8b (diff) | |
download | slackbuilds-b1eacc4adc19f34f866042fdecc2fe190127dc67.tar.gz |
libraries/pygoocanvas: Updated for bash4.
Diffstat (limited to 'libraries/pygoocanvas/pygoocanvas.SlackBuild')
-rw-r--r-- | libraries/pygoocanvas/pygoocanvas.SlackBuild | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/libraries/pygoocanvas/pygoocanvas.SlackBuild b/libraries/pygoocanvas/pygoocanvas.SlackBuild index af4a9f32f8..448b6df729 100644 --- a/libraries/pygoocanvas/pygoocanvas.SlackBuild +++ b/libraries/pygoocanvas/pygoocanvas.SlackBuild @@ -21,10 +21,15 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Mar 3rd, 2010 +# Change to build "2", fixed the "strip" for bash 4 compatability +# there were no man pages to be built, removed that section +# + PRGNAM=pygoocanvas VERSION=0.14.1 ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -60,7 +65,7 @@ find . \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ - ./configure \ +./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var/lib \ @@ -77,12 +82,14 @@ make install DESTDIR=$PKG find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ xargs strip --strip-unneeded 2> /dev/null || true find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null + xargs strip --strip-unneeded 2> /dev/null || true ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING ChangeLog INSTALL NEWS \ - $PKG/usr/doc/$PRGNAM-$VERSION +cd $TMP/$PRGNAM-$VERSION +cp -a \ + AUTHORS COPYING ChangeLog INSTALL NEWS \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |