diff options
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 |