diff options
author | Erik Hanson <erik@slackbuilds.org> | 2010-05-12 17:40:41 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-12 17:40:41 +0200 |
commit | fc617112caa4ca34c3eac0b02bf653b4ee68a801 (patch) | |
tree | b21be6769dac9ce47cce4773b771b5fbebe39630 | |
parent | b276ca653378189b60e310e7d901793a9349f8c8 (diff) |
libraries/gail: Updated for version 1.22.3
-rw-r--r-- | libraries/gail/README | 6 | ||||
-rw-r--r-- | libraries/gail/gail.SlackBuild | 40 | ||||
-rw-r--r-- | libraries/gail/gail.info | 8 | ||||
-rw-r--r-- | libraries/gail/slack-desc | 18 |
4 files changed, 37 insertions, 35 deletions
diff --git a/libraries/gail/README b/libraries/gail/README index 4c20d6ab05498..82e49784e3492 100644 --- a/libraries/gail/README +++ b/libraries/gail/README @@ -1,3 +1,3 @@ -GAIL provides accessibility support for gtk+ and libgnomecanvas -by implementing AtkObjects for widgets in gtk+ and libgnomecanvas. -The GAIL library is a GTK+ module. +GAIL provides accessibility support for gtk+ and libgnomecanvas by +implementing AtkObjects for widgets in gtk+ and libgnomecanvas. The +GAIL library is a GTK+ module. diff --git a/libraries/gail/gail.SlackBuild b/libraries/gail/gail.SlackBuild index 4e4f88f0fc0e3..de1efd3c0d9e7 100644 --- a/libraries/gail/gail.SlackBuild +++ b/libraries/gail/gail.SlackBuild @@ -22,10 +22,12 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Maintained by Erik Hanson erik@slackbuilds.org + PRGNAM=gail -VERSION=1.22.3 +VERSION=${VERSION:-1.22.3} ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -33,23 +35,25 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -DOCS="AUTHORS ChangeLog COPYING INSTALL MAINTAINERS NEWS README" - if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi +set -e + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP || exit 1 +cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1 -cd $PRGNAM-$VERSION || exit 1 - +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +cd $PRGNAM-$VERSION chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -61,23 +65,21 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ - --program-prefix="" \ - --program-suffix="" \ - --enable-static=no \ - --enable-shared=yes \ - || exit 1 + --build=$ARCH-slackware-linux -make || exit 1 -make install-strip DESTDIR=$PKG || exit 1 +make +make install-strip DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS ChangeLog COPYING INSTALL MAINTAINERS NEWS README \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \; -# Create link to html docs: -( cd $PKG/usr/doc/$PRGNAM-$VERSION ; ln -sf ../../share/gtk-doc/html/$PRGNAM-libgail-util html ) +( cd $PKG/usr/doc/$PRGNAM-$VERSION + ln -s ../../share/gtk-doc/html/gail-libgail-util/ html +) mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/libraries/gail/gail.info b/libraries/gail/gail.info index 720e26db55456..e513ecf048363 100644 --- a/libraries/gail/gail.info +++ b/libraries/gail/gail.info @@ -1,8 +1,8 @@ PRGNAM="gail" VERSION="1.22.3" -HOMEPAGE="http://developer.gnome.org/projects/gap" +HOMEPAGE="http://freshmeat.net/projects/gail/" DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/gail/1.22/gail-1.22.3.tar.bz2" MD5SUM="1b0d2b3d5f89fb620ce6122e52578b41" -MAINTAINER="Frank Caraballo" -EMAIL="fecaraballo{at}gmail{dot}com" -APPROVED="David Somero"
\ No newline at end of file +MAINTAINER="Erik Hanson" +EMAIL="erik@slackbuilds.org" +APPROVED="rworkman" diff --git a/libraries/gail/slack-desc b/libraries/gail/slack-desc index 04c376dde2087..ead79c1dfe8ff 100644 --- a/libraries/gail/slack-desc +++ b/libraries/gail/slack-desc @@ -1,19 +1,19 @@ # HOW TO EDIT THIS FILE: # 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 -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. +# 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 make +# exactly 11 lines for the formatting to be correct. It's also customary to +# leave one space after the ':'. |-----handy-ruler------------------------------------------------------| -gail: GAIL (a GTK+ accessibility module) +gail: GAIL (a GTK+ module) gail: -gail: GAIL provides accessibility support for gtk+ -gail: and libgnomecanvas by implementing AtkObjects -gail: for widgets in gtk+ and libgnomecanvas. The +gail: GAIL provides accessibility support for gtk+ and libgnomecanvas by +gail: implementing AtkObjects for widgets in gtk+ and libgnomecanvas. The gail: GAIL library is a GTK+ module. gail: -gail: Homepage: http://developer.gnome.org/projects/gap +gail: Homepage: http://freshmeat.net/projects/gail/ +gail: gail: gail: gail: |