2017-08-12 12:52:08 +02:00
|
|
|
# Description: Gksu yetkilendirme kütüphanesi
|
|
|
|
# URL: http://www.nongnu.org/gksu/index.html
|
|
|
|
# Packager: yasarciv67@gmail.com
|
|
|
|
# Depends on: intltool gtk-doc gconf gtk2 libgnome-keyring libgtop startup-notification libglade
|
|
|
|
|
|
|
|
name=libgksu
|
|
|
|
version=2.0.12
|
|
|
|
release=1
|
|
|
|
source=(http://people.debian.org/~kov/gksu/$name-$version.tar.gz
|
|
|
|
libgksu-2.0.0-fbsd.patch
|
|
|
|
libgksu-2.0.12-automake-1.11.2.patch
|
|
|
|
libgksu-2.0.12-fix-make-3.82.patch
|
2017-08-12 21:01:52 +02:00
|
|
|
libgksu-2.0.12-notests.patch
|
2017-08-12 12:52:08 +02:00
|
|
|
libgksu-2.0.12-revert-forkpty.patch
|
|
|
|
libgksu-2.0.7-libs.patch
|
|
|
|
libgksu-2.0.7-polinguas.patch)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
patch -Np1 -i "${SRC}/libgksu-2.0.0-fbsd.patch"
|
|
|
|
patch -Np1 -i "${SRC}/libgksu-2.0.7-libs.patch"
|
|
|
|
patch -Np1 -i "${SRC}/libgksu-2.0.7-polinguas.patch"
|
|
|
|
patch -Np1 -i "${SRC}/libgksu-2.0.12-revert-forkpty.patch"
|
|
|
|
patch -Np0 -i "${SRC}/libgksu-2.0.12-fix-make-3.82.patch"
|
|
|
|
patch -Np1 -i "${SRC}/libgksu-2.0.12-notests.patch"
|
|
|
|
patch -Np1 -i "${SRC}/libgksu-2.0.12-automake-1.11.2.patch"
|
|
|
|
|
|
|
|
touch NEWS README
|
|
|
|
|
|
|
|
intltoolize --force --copy --automake
|
|
|
|
autoreconf -fi
|
|
|
|
|
2017-08-12 21:01:52 +02:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--localstatedir=/var \
|
|
|
|
--disable-static \
|
|
|
|
--disable-schemas-install
|
|
|
|
|
2017-08-12 12:52:08 +02:00
|
|
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
|
|
|
make
|
|
|
|
make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${PKG}" install
|
|
|
|
rm -f ${PKG}/usr/lib/*.a
|
|
|
|
install -m755 -d "${PKG}/usr/share/gconf/schemas"
|
2017-08-12 21:01:52 +02:00
|
|
|
gconf-merge-schema "${PKG}/usr/share/gconf/schemas/$name.schemas" --domain libgksu ${PKG}/etc/gconf/schemas/*.schemas
|
|
|
|
rm -f ${PKG}/etc/gconf
|
|
|
|
rm -f ${PKG}/usr/share/gtk-doc
|
2017-08-12 12:52:08 +02:00
|
|
|
}
|