removed embryo-config because of pkg-config

SVN revision: 30525
This commit is contained in:
Andreas Volz 2007-07-01 17:37:02 +00:00
parent f1b651886f
commit 43885d1fec
4 changed files with 1 additions and 64 deletions

View File

@ -10,7 +10,7 @@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess \
embryo.spec \
debian/changelog
bin_SCRIPTS = embryo-config
bin_SCRIPTS =
EXTRA_DIST = README AUTHORS COPYING COPYING-PLAIN embryo.c.in gendoc \
Doxyfile \

View File

@ -85,10 +85,7 @@ include/Makefile
src/Makefile
src/lib/Makefile
src/bin/Makefile
embryo-config
README
embryo.spec
debian/changelog
],[
chmod +x embryo-config
])

View File

@ -1,59 +0,0 @@
#!/bin/sh
prefix=@prefix@
exec_prefix=@exec_prefix@
exec_prefix_set=no
usage="\
Usage: embryo-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
;;
--libs)
libdirs=-L@libdir@
echo $libdirs -lembryo -lm
;;
*)
echo "${usage}" 1>&2
exit 1
;;
esac
shift
done
exit 0

View File

@ -69,7 +69,6 @@ test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
%{_libdir}/*.so
%{_libdir}/*.la
%{_libdir}/*.a
%{_bindir}/embryo-config
%{_libdir}/pkgconfig/*
%{_includedir}/*.h