Skip to content

Commit

Permalink
Added ebuild file
Browse files Browse the repository at this point in the history
git-svn-id: https://rarfs.svn.sourceforge.net/svnroot/rarfs/trunk@7 e7d50402-2a21-0410-9462-cc66f8fbb32f
  • Loading branch information
ghostelf committed Jun 13, 2008
1 parent 64c2b12 commit 43b1c64
Show file tree
Hide file tree
Showing 7 changed files with 88 additions and 14 deletions.
3 changes: 2 additions & 1 deletion rarfs/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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

2 changes: 1 addition & 1 deletion rarfs/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
15 changes: 14 additions & 1 deletion rarfs/aclocal.m4
Original file line number Diff line number Diff line change
Expand Up @@ -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}'
Expand All @@ -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
Expand Down
49 changes: 38 additions & 11 deletions rarfs/configure
Original file line number Diff line number Diff line change
Expand Up @@ -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}'
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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}'
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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;}
Expand Down
1 change: 1 addition & 0 deletions rarfs/configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,5 @@ fi

AC_OUTPUT(Makefile \
src/Makefile \
doc/Makefile
)
4 changes: 4 additions & 0 deletions rarfs/doc/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

EXTRA_DIST = \
rarfs-0.0.8.ebuild

28 changes: 28 additions & 0 deletions rarfs/doc/rarfs-0.0.8.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 43b1c64

Please sign in to comment.