forked from enlightenment/efl
Add ecore-config, fix files requiring it.
Eventually, I'll get to build e17. ;) SVN revision: 3965
This commit is contained in:
parent
87b602f143
commit
2df9d20f49
|
@ -17,4 +17,6 @@ dist-hook:
|
||||||
done \
|
done \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
bin_SCRIPTS = ecore-config
|
||||||
|
|
||||||
EXTRA_DIST = README AUTHORS COPYING
|
EXTRA_DIST = README AUTHORS COPYING
|
||||||
|
|
|
@ -80,8 +80,9 @@ AC_SUBST(x_libs)
|
||||||
|
|
||||||
AC_OUTPUT([
|
AC_OUTPUT([
|
||||||
Makefile
|
Makefile
|
||||||
|
ecore-config
|
||||||
src/Makefile
|
src/Makefile
|
||||||
], [
|
], [
|
||||||
|
chmod +x ecore-config
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,59 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
prefix=@prefix@
|
||||||
|
exec_prefix=@exec_prefix@
|
||||||
|
exec_prefix_set=no
|
||||||
|
|
||||||
|
usage="\
|
||||||
|
Usage: ecore-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 @includedir@ != /usr/include ; then
|
||||||
|
includes=-I@includedir@
|
||||||
|
fi
|
||||||
|
echo $includes @x_cflags@
|
||||||
|
;;
|
||||||
|
--libs)
|
||||||
|
libdirs=-L@libdir@
|
||||||
|
echo $libdirs -lecore @x_libs@ -lm
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "${usage}" 1>&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
shift
|
||||||
|
done
|
||||||
|
|
||||||
|
exit 0
|
|
@ -15,8 +15,6 @@ Packager: The Rasterman <raster@rasterman.com> Term <term@kempler.net>
|
||||||
Vendor: The Enlightenment Development Team <e-develop@enlightenment.org>
|
Vendor: The Enlightenment Development Team <e-develop@enlightenment.org>
|
||||||
Source: ftp://ftp.enlightenment.org/enlightenment/%{name}-%{ver}.tar.gz
|
Source: ftp://ftp.enlightenment.org/enlightenment/%{name}-%{ver}.tar.gz
|
||||||
BuildRoot: /var/tmp/%{name}-root
|
BuildRoot: /var/tmp/%{name}-root
|
||||||
#Requires: evas >= 0.0.1
|
|
||||||
#Requires: edb >= 1.0.2
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Ecore is brub.
|
Ecore is brub.
|
||||||
|
@ -62,3 +60,4 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%{prefix}/lib/libecore.so
|
%{prefix}/lib/libecore.so
|
||||||
%{prefix}/lib/libecore.*a
|
%{prefix}/lib/libecore.*a
|
||||||
%{prefix}/include/Ecore.h
|
%{prefix}/include/Ecore.h
|
||||||
|
%{prefix}/bin/ecore-config
|
||||||
|
|
Loading…
Reference in New Issue