gnome/gnome-keyring-sharp: Fix path of pkg-config files.

slackware-14.2
Damien Goutte-Gattat 12 years ago
parent a78c4b9c5d
commit 4f9ce333c9
  1. 13
      gnome/gnome-keyring-sharp/gnome-keyring-sharp.SlackBuild

@ -26,6 +26,7 @@
# <http://www.mono-project.com/Libraries#Gnome-KeyRing-Sharp>.
#
# Depends: gnome/gnome-keyring, d/mono
# Recommends: l/ndesk-dbus
# Source package infos
NAMESRC=${NAMESRC:-gnome-keyring-sharp}
@ -35,7 +36,7 @@ WGET=${WGET:-http://ftp.novell.com/pub/mono/sources/gnome-keyring-sharp/$ARCHIVE
# Build infos
NAMEPKG=${NAMEPKG:-gnome-keyring-sharp}
BUILD=${BUILD:-1GGD}
BUILD=${BUILD:-2GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
EXT=${EXT:-txz}
@ -70,12 +71,16 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
./configure \
--prefix=/usr \
--disable-dbus
./configure --prefix=/usr
make
make install DESTDIR=$PKG
# On x86_64, install pkg-config files in /usr/lib64
if [ "x$ARCH" = xx86_64 ]; then
mkdir -p $PKG/usr/lib64
mv $PKG/usr/lib/pkgconfig $PKG/usr/lib64/pkgconfig
fi
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 AUTHORS COPYING ChangeLog README $PKG/usr/doc/$NAME

Loading…
Cancel
Save