diff --git a/rarfs/Makefile.am b/rarfs/Makefile.am index 2dc9d5a..be7b346 100644 --- a/rarfs/Makefile.am +++ b/rarfs/Makefile.am @@ -15,4 +15,5 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -SUBDIRS=. src +SUBDIRS=. src doc + diff --git a/rarfs/Makefile.in b/rarfs/Makefile.in index 8993f92..7b4216f 100644 --- a/rarfs/Makefile.in +++ b/rarfs/Makefile.in @@ -201,7 +201,7 @@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -SUBDIRS = . src +SUBDIRS = . src doc all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive diff --git a/rarfs/aclocal.m4 b/rarfs/aclocal.m4 index be34788..2227c58 100644 --- a/rarfs/aclocal.m4 +++ b/rarfs/aclocal.m4 @@ -2315,7 +2315,14 @@ freebsd* | dragonfly*) *) objformat=elf ;; esac fi - version_type=freebsd-$objformat + # Handle Gentoo/FreeBSD as it was Linux + case $host_vendor in + gentoo) + version_type=linux ;; + *) + version_type=freebsd-$objformat ;; + esac + case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' @@ -2326,6 +2333,12 @@ freebsd* | dragonfly*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; + linux) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + need_lib_prefix=no + need_version=no + ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in diff --git a/rarfs/configure b/rarfs/configure index 0b83ea1..a58568f 100755 --- a/rarfs/configure +++ b/rarfs/configure @@ -10712,7 +10712,14 @@ freebsd* | dragonfly*) *) objformat=elf ;; esac fi - version_type=freebsd-$objformat + # Handle Gentoo/FreeBSD as it was Linux + case $host_vendor in + gentoo) + version_type=linux ;; + *) + version_type=freebsd-$objformat ;; + esac + case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' @@ -10723,6 +10730,12 @@ freebsd* | dragonfly*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; + linux) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + need_lib_prefix=no + need_version=no + ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in @@ -11876,7 +11889,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11879 "configure" +#line 11892 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11976,7 +11989,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11979 "configure" +#line 11992 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13987,11 +14000,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:13990: $lt_compile\"" >&5) + (eval echo "\"\$as_me:14003: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:13994: \$? = $ac_status" >&5 + echo "$as_me:14007: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -14086,11 +14099,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:14089: $lt_compile\"" >&5) + (eval echo "\"\$as_me:14102: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:14093: \$? = $ac_status" >&5 + echo "$as_me:14106: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -14138,11 +14151,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:14141: $lt_compile\"" >&5) + (eval echo "\"\$as_me:14154: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:14145: \$? = $ac_status" >&5 + echo "$as_me:14158: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -14569,7 +14582,14 @@ freebsd* | dragonfly*) *) objformat=elf ;; esac fi - version_type=freebsd-$objformat + # Handle Gentoo/FreeBSD as it was Linux + case $host_vendor in + gentoo) + version_type=linux ;; + *) + version_type=freebsd-$objformat ;; + esac + case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' @@ -14580,6 +14600,12 @@ freebsd* | dragonfly*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; + linux) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + need_lib_prefix=no + need_version=no + ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in @@ -15130,7 +15156,7 @@ if test "x${prefix}" = "xNONE"; then fi -ac_config_files="$ac_config_files Makefile src/Makefile" +ac_config_files="$ac_config_files Makefile src/Makefile doc/Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure @@ -16109,6 +16135,7 @@ do "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; + "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} diff --git a/rarfs/configure.in b/rarfs/configure.in index e70381d..43a38ab 100644 --- a/rarfs/configure.in +++ b/rarfs/configure.in @@ -34,4 +34,5 @@ fi AC_OUTPUT(Makefile \ src/Makefile \ + doc/Makefile ) diff --git a/rarfs/doc/Makefile.am b/rarfs/doc/Makefile.am new file mode 100644 index 0000000..a27b9cd --- /dev/null +++ b/rarfs/doc/Makefile.am @@ -0,0 +1,4 @@ + +EXTRA_DIST = \ + rarfs-0.0.8.ebuild + diff --git a/rarfs/doc/rarfs-0.0.8.ebuild b/rarfs/doc/rarfs-0.0.8.ebuild new file mode 100644 index 0000000..2c847d0 --- /dev/null +++ b/rarfs/doc/rarfs-0.0.8.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="Fuse-filesystem for not compressed rar archives." +SRC_URI="mirror://sourceforge/rarfs/${P}.tar.gz" +HOMEPAGE="http://rarfs.wiki.sourceforge.net/" +LICENSE="GPL-2" +DEPEND=">=sys-fs/fuse-2.5.0" +KEYWORDS="ppc64 X86" +SLOT="0" +IUSE="" + +src_unpack() +{ + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/rarfs.patch +} + +src_install () +{ + make DESTDIR=${D} install || die "make install failed" + dodoc README NEWS ChangeLog AUTHORS +} +