gnome-system-tools.eklendi

This commit is contained in:
milisarge 2017-07-02 23:27:56 +03:00
parent 02f44b370e
commit 143496a1ae
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,14 @@
diff -Nur gnome-system-tools-3.0.0.orig//configure.in gnome-system-tools-3.0.0/configure.in
--- gnome-system-tools-3.0.0.orig//configure.in 2011-08-08 09:49:33.514034262 +0000
+++ gnome-system-tools-3.0.0/configure.in 2011-08-08 09:50:06.967688099 +0000
@@ -161,8 +161,8 @@
AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION([0.17])
GETTEXT_PACKAGE=gnome-system-tools
-AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [gettext package name])
-AC_SUBST([GETTEXT_PACKAGE], GETTEXT_PACKAGE)
+AC_SUBST(GETTEXT_PACKAGE) # needed by gettext in po directory
+AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",[fix])
dnl ========================================================
dnl END : Translations

View File

@ -0,0 +1,25 @@
# Description: Cross-platform configuration utilities for GNOME
# URL: http://projects.gnome.org/gst/
# Packager: milisarge
# Depends on: intltool gnome-doc-utils wireless-tools liboobs polkit-gnome dconf
name=gnome-system-tools
version=3.0.0
release=1
source=(ftp://ftp.gnome.org/pub/gnome/sources/gnome-system-tools/3.0/$name-$version.tar.bz2
po.patch)
build() {
cd "${SRC}/${name}-${version}"
patch -Np1 -i "${SRC}/po.patch"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-scrollkeeper \
--disable-static \
--disable-services \
--disable-schemas-compile LIBS="-lm -lgthread-2.0"
make
make DESTDIR="${PKG}" install
}