milis/talimatname/genel/l/libgksu/talimat

51 lines
1.7 KiB
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Gksu yetkilendirme kütüphanesi
2017-08-12 12:52:08 +02:00
# URL: http://www.nongnu.org/gksu/index.html
2017-10-27 20:46:27 +02:00
# Paketçi: yasarciv67@gmail.com
# Gerekler: intltool gtk-doc gconf gtk2 libgnome-keyring libgtop startup-notification libglade
2017-08-12 12:52:08 +02:00
2017-10-28 14:10:23 +02:00
isim=libgksu
surum=2.0.12
2017-12-18 13:36:27 +01:00
devir=2
2017-10-28 14:10:23 +02:00
kaynak=(http://people.debian.org/~kov/gksu/$isim-$surum.tar.gz
2017-08-12 12:52:08 +02:00
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
2017-12-18 13:40:27 +01:00
libgksu-2.0.7-polinguas.patch
libgksu-tr.po)
2017-08-12 12:52:08 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd $isim-$surum
2017-08-12 12:52:08 +02:00
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-10-28 14:10:23 +02:00
gconf-merge-schema "${PKG}/usr/share/gconf/schemas/$isim.schemas" --domain libgksu ${PKG}/etc/gconf/schemas/*.schemas
2017-08-12 21:05:50 +02:00
rm -rf ${PKG}/etc/gconf
rm -rf ${PKG}/usr/share/gtk-doc
2017-12-18 12:13:44 +01:00
mkdir -p $PKG/usr/share/locale/tr/LC_MESSAGES
2017-12-18 13:36:27 +01:00
msgfmt $SRC/libgksu-tr.po -o $PKG/usr/share/locale/tr/LC_MESSAGES/libgksu.mo
2017-08-12 12:52:08 +02:00
}