milis/talimatname/genel/l/libgksu/talimat

48 lines
1.6 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Gksu yetkilendirme kütüphanesi
# URL: http://www.nongnu.org/gksu/index.html
# Paketçi: yasarciv67@gmail.com
# Gerekler: intltool gtk-doc gconf gtk2 libgnome-keyring libgtop startup-notification libglade
isim=libgksu
surum=2.0.12
devir=1
kaynak=(http://people.debian.org/~kov/gksu/$isim-$surum.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
libgksu-2.0.12-notests.patch
libgksu-2.0.12-revert-forkpty.patch
libgksu-2.0.7-libs.patch
libgksu-2.0.7-polinguas.patch)
derle() {
cd $isim-$surum
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
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
--disable-schemas-install
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"
gconf-merge-schema "${PKG}/usr/share/gconf/schemas/$isim.schemas" --domain libgksu ${PKG}/etc/gconf/schemas/*.schemas
rm -rf ${PKG}/etc/gconf
rm -rf ${PKG}/usr/share/gtk-doc
}