forked from enlightenment/efl
removed emotion-config.in because of pkg-config
SVN revision: 30532
This commit is contained in:
parent
b70a79d320
commit
9a38ae894a
|
@ -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 \
|
||||
|
|
|
@ -181,10 +181,7 @@ src/lib/Makefile
|
|||
src/modules/Makefile
|
||||
src/bin/Makefile
|
||||
data/Makefile
|
||||
emotion-config
|
||||
debian/changelog
|
||||
],[
|
||||
chmod +x emotion-config
|
||||
])
|
||||
|
||||
|
||||
|
|
|
@ -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
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue