stamp-h.in acconfig.h \
enlightenment.spec enlightenment.pc
-bin_SCRIPTS = enlightenment-config
-
EXTRA_DIST = config.rpath README AUTHORS COPYING COPYING-PLAIN \
enlightenment.spec.in enlightenment.spec enlightenment.pc
config/Makefile
config/default/Makefile
po/Makefile.in
-enlightenment-config
-],[
-chmod +x enlightenment-config
])
return 0
;;
-module-load)
- extra_dir=$(enlightenment-config --module-dir)
- # This is a hack. enlightenment-config should return extra dir and standard dir
+ extra_dir=$(pkg-config --variable=modules enlightenment)
+ # This is a hack. pkg-config should return extra dir and standard dir
dir=${extra_dir%_extra}
modules=$(cd ${dir} && /bin/ls && cd ${extra_dir} && /bin/ls)
COMPREPLY=($(compgen -W "${modules}" -- "${cur}"))
-debian/tmp/usr/bin/enlightenment-config
debian/tmp/usr/include/enlightenment/*.h
DEB_FIXPERMS_EXCLUDE := enlightenment_sys freqset tempget batget
DEB_MAKE_CLEAN_TARGET := clean
DEB_INSTALL_MANPAGES_e17 := $(DEB_SRCDIR)/debian/enlightenment.1 $(DEB_SRCDIR)/debian/enlightenment_*.1
-DEB_INSTALL_MANPAGES_e17-dev := $(DEB_SRCDIR)/debian/enlightenment-config.1
DEB_DH_STRIP_ARGS := --dbg-package=e17-dbg
DEB_CONFIGURE_EXTRA_FLAGS := --disable-rpath
+++ /dev/null
-#!/bin/sh
-
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-exec_prefix_set=no
-
-usage="\
-Usage: $0 [--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)
- includes="-I@prefix@/include/enlightenment"
- echo $includes @e_cflags@
- ;;
- --libs)
- libdirs="-L@libdir@"
- echo $libdirs
- ;;
- --module-dir)
- dir="@libdir@/@PACKAGE@/modules"
- echo $dir
- ;;
- --config-apps-dir)
- dir="@prefix@/share/@PACKAGE@/config-apps"
- echo $dir
- ;;
- *)
- echo "${usage}" 1>&2
- exit 1
- ;;
- esac
- shift
-done
-
-exit 0
%files devel
%defattr(-, root, root)
-%{_bindir}/enlightenment-config
%{_includedir}/enlightenment
%{_libdir}/pkgconfig/*.pc