removed emotion-config.in because of pkg-config

SVN revision: 30532
This commit is contained in:
Andreas Volz 2007-07-01 18:22:15 +00:00
parent b70a79d320
commit 9a38ae894a
4 changed files with 1 additions and 64 deletions

View File

@ -8,7 +8,7 @@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess emotion.spec \
stamp-h.in emotion_docs.tar emotion_docs.tar.gz \
emotion.c acconfig.h debian/changelog
bin_SCRIPTS = emotion-config
bin_SCRIPTS =
EXTRA_DIST = README AUTHORS COPYING COPYING-PLAIN \
emotion.spec emotion.spec.in emotion.c.in gendoc Doxyfile \

View File

@ -181,10 +181,7 @@ src/lib/Makefile
src/modules/Makefile
src/bin/Makefile
data/Makefile
emotion-config
debian/changelog
],[
chmod +x emotion-config
])

View File

@ -1,59 +0,0 @@
#!/bin/sh
prefix=@prefix@
exec_prefix=@exec_prefix@
exec_prefix_set=no
usage="\
Usage: emotion-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags]"
if test $# -eq 0; then
echo "${usage}" 1>&2
exit 1
fi
while test $# -gt 0; do
case "$1" in
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
*) optarg= ;;
esac
case $1 in
--prefix=*)
prefix=$optarg
if test $exec_prefix_set = no ; then
exec_prefix=$optarg
fi
;;
--prefix)
echo $prefix
;;
--exec-prefix=*)
exec_prefix=$optarg
exec_prefix_set=yes
;;
--exec-prefix)
echo $exec_prefix
;;
--version)
echo @VERSION@
;;
--cflags)
if test @prefix@/include != /usr/include ; then
includes="-I@prefix@/include"
fi
echo $includes @EVAS_CFLAGS@
;;
--libs)
libdirs=-L@libdir@
echo $libdirs -lemotion @EVAS_LIBS@ @ECORE_LIBS@ @dlopen_libs@
;;
*)
echo "${usage}" 1>&2
exit 1
;;
esac
shift
done
exit 0

View File

@ -63,7 +63,6 @@ test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
%files devel
%defattr(-, root, root)
%doc doc/html
%{_bindir}/emotion-config
%{_libdir}/pkgconfig/emotion.pc
%{_libdir}/libemotion.so
%{_libdir}/libemotion.la