diff options
author | Erik Hanson <erik@slackbuilds.org> | 2010-06-28 23:25:56 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-06-29 00:36:36 -0500 |
commit | 4a74fb368422e53a258a80e5db748ac8176a616d (patch) | |
tree | 9cb9b74909205fd2d3d7ab27b8aade7b2f74f092 /libraries/libsoup/libsoup.SlackBuild | |
parent | 424be1ba1bfa2f72bdb45a658062d0406d53bf04 (diff) | |
download | slackbuilds-4a74fb368422e53a258a80e5db748ac8176a616d.tar.gz |
libraries/libsoup: Detect optional gnome components.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/libsoup/libsoup.SlackBuild')
-rw-r--r-- | libraries/libsoup/libsoup.SlackBuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libraries/libsoup/libsoup.SlackBuild b/libraries/libsoup/libsoup.SlackBuild index eebd325b32..9e57107e32 100644 --- a/libraries/libsoup/libsoup.SlackBuild +++ b/libraries/libsoup/libsoup.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=libsoup VERSION=2.30.1 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -65,6 +65,10 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . +if pkg-config --exists libproxy-1.0 gnome-keyring-1 ; then + GNOME=yes ; else GNOME=no +fi + CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ @@ -72,7 +76,7 @@ CFLAGS="$SLKCFLAGS" \ --sysconfdir=/etc \ --localstatedir=/var/lib \ --disable-static \ - --without-gnome \ + --with-gnome=$GNOME \ --build=$ARCH-slackware-linux make |