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 \
|
||||
fi
|
||||
|
||||
bin_SCRIPTS = ecore-config
|
||||
|
||||
EXTRA_DIST = README AUTHORS COPYING
|
||||
|
|
|
@ -80,8 +80,9 @@ AC_SUBST(x_libs)
|
|||
|
||||
AC_OUTPUT([
|
||||
Makefile
|
||||
ecore-config
|
||||
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>
|
||||
Source: ftp://ftp.enlightenment.org/enlightenment/%{name}-%{ver}.tar.gz
|
||||
BuildRoot: /var/tmp/%{name}-root
|
||||
#Requires: evas >= 0.0.1
|
||||
#Requires: edb >= 1.0.2
|
||||
|
||||
%description
|
||||
Ecore is brub.
|
||||
|
@ -62,3 +60,4 @@ rm -rf $RPM_BUILD_ROOT
|
|||
%{prefix}/lib/libecore.so
|
||||
%{prefix}/lib/libecore.*a
|
||||
%{prefix}/include/Ecore.h
|
||||
%{prefix}/bin/ecore-config
|
||||
|
|
Loading…
Reference in New Issue