diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-01-14 05:11:23 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-01-14 05:11:23 +0000 |
commit | 0109359e004d179c3b257718dea8ac265f9481b6 (patch) | |
tree | 5f995f124c54fbe7d19cd9290d97ba176e34c2ea | |
parent | stabilize (diff) | |
download | gentoo-2-0109359e004d179c3b257718dea8ac265f9481b6.tar.gz gentoo-2-0109359e004d179c3b257718dea8ac265f9481b6.tar.bz2 gentoo-2-0109359e004d179c3b257718dea8ac265f9481b6.zip |
old
(Portage version: 2.1_pre3-r1)
-rw-r--r-- | app-editors/nano/files/digest-nano-1.3.4 | 1 | ||||
-rw-r--r-- | app-editors/nano/files/digest-nano-1.3.6 | 1 | ||||
-rw-r--r-- | app-editors/nano/nano-1.3.4.ebuild | 65 | ||||
-rw-r--r-- | app-editors/nano/nano-1.3.6.ebuild | 70 | ||||
-rw-r--r-- | sys-apps/man-pages/files/digest-man-pages-2.16 | 1 | ||||
-rw-r--r-- | sys-apps/man-pages/files/digest-man-pages-2.17 | 1 | ||||
-rw-r--r-- | sys-apps/man-pages/man-pages-2.16.ebuild | 49 | ||||
-rw-r--r-- | sys-apps/man-pages/man-pages-2.17.ebuild | 49 | ||||
-rw-r--r-- | sys-libs/com_err/com_err-1.37.ebuild | 72 | ||||
-rw-r--r-- | sys-libs/com_err/files/com_err-1.37-sed-locale.patch | 51 | ||||
-rw-r--r-- | sys-libs/com_err/files/digest-com_err-1.37 | 1 | ||||
-rw-r--r-- | sys-libs/ss/files/digest-ss-1.37 | 1 | ||||
-rw-r--r-- | sys-libs/ss/files/ss-1.37-sed-locale.patch | 51 | ||||
-rw-r--r-- | sys-libs/ss/ss-1.37.ebuild | 60 |
14 files changed, 0 insertions, 473 deletions
diff --git a/app-editors/nano/files/digest-nano-1.3.4 b/app-editors/nano/files/digest-nano-1.3.4 deleted file mode 100644 index 1929bb67fe45..000000000000 --- a/app-editors/nano/files/digest-nano-1.3.4 +++ /dev/null @@ -1 +0,0 @@ -MD5 c24028eade9f713009a18ab541564409 nano-1.3.4.tar.gz 961756 diff --git a/app-editors/nano/files/digest-nano-1.3.6 b/app-editors/nano/files/digest-nano-1.3.6 deleted file mode 100644 index a57b7ec08c00..000000000000 --- a/app-editors/nano/files/digest-nano-1.3.6 +++ /dev/null @@ -1 +0,0 @@ -MD5 03f951ade0ab1a3de7bd2cfffb2baf51 nano-1.3.6.tar.gz 997375 diff --git a/app-editors/nano/nano-1.3.4.ebuild b/app-editors/nano/nano-1.3.4.ebuild deleted file mode 100644 index 2effe907e014..000000000000 --- a/app-editors/nano/nano-1.3.4.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/nano-1.3.4.ebuild,v 1.11 2005/05/30 05:03:56 vapier Exp $ - -inherit eutils - -MY_P=${PN}-${PV/_} -DESCRIPTION="GNU GPL'd Pico clone with more functionality" -HOMEPAGE="http://www.nano-editor.org/" -SRC_URI="http://www.nano-editor.org/dist/v1.3/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 ppc-macos s390 sh sparc x86" -IUSE="nls build spell justify debug slang ncurses nomac" - -DEPEND=">=sys-libs/ncurses-5.2 - nls? ( sys-devel/gettext ) - !ncurses? ( slang? ( sys-libs/slang ) )" -PROVIDE="virtual/editor" - -S=${WORKDIR}/${MY_P} - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/${PV}-nanobrack.patch - use nomac && epatch ${FILESDIR}/${PV}-nomac.patch -} - -src_compile() { - local myconf="" - use build && myconf="${myconf} --disable-wrapping-as-root" - use ncurses || myconf="${myconf} `use_with slang`" - - econf \ - --bindir=/bin \ - --enable-color \ - --enable-multibuffer \ - --enable-nanorc \ - `use_enable spell` \ - `use_enable justify` \ - `use_enable debug` \ - `use_enable nls` \ - ${myconf} \ - || die "configure failed" - emake || die -} - -src_install() { - make DESTDIR=${D} install || die - - if use build ; then - rm -rf ${D}/usr/share - else - cat ${FILESDIR}/nanorc-* >> doc/nanorc.sample - dodoc ChangeLog README doc/nanorc.sample AUTHORS BUGS NEWS TODO - dohtml *.html - insinto /etc - newins doc/nanorc.sample nanorc - fi - - dodir /usr/bin - dosym ../../bin/nano /usr/bin/nano -} diff --git a/app-editors/nano/nano-1.3.6.ebuild b/app-editors/nano/nano-1.3.6.ebuild deleted file mode 100644 index 8a43b4229015..000000000000 --- a/app-editors/nano/nano-1.3.6.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/nano-1.3.6.ebuild,v 1.3 2005/05/30 05:03:56 vapier Exp $ - -inherit eutils - -MY_P=${PN}-${PV/_} -DESCRIPTION="GNU GPL'd Pico clone with more functionality" -HOMEPAGE="http://www.nano-editor.org/" -SRC_URI="http://www.nano-editor.org/dist/v1.3/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~ppc-macos ~s390 ~sh ~sparc ~x86" -IUSE="nls build spell justify debug slang ncurses nomac" - -DEPEND=">=sys-libs/ncurses-5.2 - nls? ( sys-devel/gettext ) - !ncurses? ( slang? ( sys-libs/slang ) )" -PROVIDE="virtual/editor" - -S=${WORKDIR}/${MY_P} - -src_unpack() { - unpack ${A} - cd "${S}" - use nomac && epatch "${FILESDIR}"/${P}-nomac.patch - epatch "${FILESDIR}"/${P}-debug-typo.patch -} - -src_compile() { - local myconf="" - use build && myconf="${myconf} --disable-wrapping-as-root" - use ncurses || myconf="${myconf} $(use_with slang)" - - econf \ - --bindir=/bin \ - --enable-color \ - --enable-multibuffer \ - --enable-nanorc \ - $(use_enable spell) \ - $(use_enable justify) \ - $(use_enable debug) \ - $(use_enable nls) \ - ${myconf} \ - || die "configure failed" - emake || die -} - -src_install() { - make DESTDIR="${D}" install || die - - if use build ; then - rm -rf "${D}"/usr/share - else - cat "${FILESDIR}"/nanorc-* >> doc/nanorc.sample - dodoc ChangeLog README doc/nanorc.sample AUTHORS BUGS NEWS TODO - dohtml *.html - insinto /etc - newins doc/nanorc.sample nanorc - fi - - dodir /usr/bin - dosym /bin/nano /usr/bin/nano -} - -pkg_postinst() { - einfo "More helpful info about nano, visit the GDP page:" - einfo "http://www.gentoo.org/doc/en/nano-basics-guide.xml" -} diff --git a/sys-apps/man-pages/files/digest-man-pages-2.16 b/sys-apps/man-pages/files/digest-man-pages-2.16 deleted file mode 100644 index b8ef46f99423..000000000000 --- a/sys-apps/man-pages/files/digest-man-pages-2.16 +++ /dev/null @@ -1 +0,0 @@ -MD5 dcc01d6d9f1852e0391e90192558e1c7 man-pages-2.16.tar.bz2 1721819 diff --git a/sys-apps/man-pages/files/digest-man-pages-2.17 b/sys-apps/man-pages/files/digest-man-pages-2.17 deleted file mode 100644 index 95c92366ba1d..000000000000 --- a/sys-apps/man-pages/files/digest-man-pages-2.17 +++ /dev/null @@ -1 +0,0 @@ -MD5 7802eb68d2d9c99fbc993ddee598c088 man-pages-2.17.tar.bz2 1727965 diff --git a/sys-apps/man-pages/man-pages-2.16.ebuild b/sys-apps/man-pages/man-pages-2.16.ebuild deleted file mode 100644 index 0283809fbf5c..000000000000 --- a/sys-apps/man-pages/man-pages-2.16.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/man-pages/man-pages-2.16.ebuild,v 1.2 2005/12/14 23:02:56 vapier Exp $ - -inherit eutils - -DESCRIPTION="A somewhat comprehensive collection of Linux man pages" -HOMEPAGE="http://www.win.tue.nl/~aeb/linux/man/" -SRC_URI="mirror://kernel/linux/docs/manpages/${P}.tar.bz2" - -LICENSE="freedist" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86" -IUSE="nls" - -RDEPEND="sys-apps/man" -PDEPEND="nls? ( - linguas_cs? ( app-i18n/man-pages-cs ) - linguas_da? ( app-i18n/man-pages-da ) - linguas_de? ( app-i18n/man-pages-de ) - linguas_es? ( app-i18n/man-pages-es ) - linguas_fr? ( app-i18n/man-pages-fr ) - linguas_it? ( app-i18n/man-pages-it ) - linguas_ja? ( app-i18n/man-pages-ja ) - linguas_nl? ( app-i18n/man-pages-nl ) - linguas_pl? ( app-i18n/man-pages-pl ) - linguas_ro? ( app-i18n/man-pages-ro ) - linguas_ru? ( app-i18n/man-pages-ru ) - linguas_zh_CN? ( app-i18n/man-pages-zh_CN ) - )" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${PN}-2.08-updates.patch -} - -src_compile() { :; } - -src_install() { - make install prefix="${D}" || die - dodoc man-pages-*.Announce README Changes* -} - -pkg_postinst() { - einfo "If you don't have a makewhatis cronjob, then you" - einfo "should update the whatis database yourself:" - einfo " # makewhatis" -} diff --git a/sys-apps/man-pages/man-pages-2.17.ebuild b/sys-apps/man-pages/man-pages-2.17.ebuild deleted file mode 100644 index 9c37010cc0b0..000000000000 --- a/sys-apps/man-pages/man-pages-2.17.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/man-pages/man-pages-2.17.ebuild,v 1.2 2005/12/19 23:01:59 vapier Exp $ - -inherit eutils - -DESCRIPTION="A somewhat comprehensive collection of Linux man pages" -HOMEPAGE="http://www.win.tue.nl/~aeb/linux/man/" -SRC_URI="mirror://kernel/linux/docs/manpages/${P}.tar.bz2" - -LICENSE="freedist" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86" -IUSE="nls" - -RDEPEND="sys-apps/man" -PDEPEND="nls? ( - linguas_cs? ( app-i18n/man-pages-cs ) - linguas_da? ( app-i18n/man-pages-da ) - linguas_de? ( app-i18n/man-pages-de ) - linguas_es? ( app-i18n/man-pages-es ) - linguas_fr? ( app-i18n/man-pages-fr ) - linguas_it? ( app-i18n/man-pages-it ) - linguas_ja? ( app-i18n/man-pages-ja ) - linguas_nl? ( app-i18n/man-pages-nl ) - linguas_pl? ( app-i18n/man-pages-pl ) - linguas_ro? ( app-i18n/man-pages-ro ) - linguas_ru? ( app-i18n/man-pages-ru ) - linguas_zh_CN? ( app-i18n/man-pages-zh_CN ) - )" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${PN}-2.08-updates.patch -} - -src_compile() { :; } - -src_install() { - make install prefix="${D}" || die - dodoc man-pages-*.Announce README Changes* -} - -pkg_postinst() { - einfo "If you don't have a makewhatis cronjob, then you" - einfo "should update the whatis database yourself:" - einfo " # makewhatis" -} diff --git a/sys-libs/com_err/com_err-1.37.ebuild b/sys-libs/com_err/com_err-1.37.ebuild deleted file mode 100644 index e9affba80550..000000000000 --- a/sys-libs/com_err/com_err-1.37.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/com_err/com_err-1.37.ebuild,v 1.14 2005/07/07 05:01:37 vapier Exp $ - -inherit eutils flag-o-matic toolchain-funcs - -DESCRIPTION="common error display library" -HOMEPAGE="http://e2fsprogs.sourceforge.net/" -SRC_URI="mirror://sourceforge/e2fsprogs/e2fsprogs-${PV}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86" -IUSE="nls" - -RDEPEND="" -DEPEND="nls? ( sys-devel/gettext )" - -S=${WORKDIR}/e2fsprogs-${PV} - -src_unpack() { - unpack ${A} - cd "${S}" - # Patch to make the configure and sed scripts more friendly to, - # for example, the Estonian locale - epatch "${FILESDIR}"/${P}-sed-locale.patch - # Clean up makefile to suck less - epatch "${FILESDIR}"/${P}-makefile.patch - - # Keep the package from doing silly things - export LDCONFIG=/bin/true - export CC=$(tc-getCC) - export STRIP=/bin/true -} - -src_compile() { - econf \ - --enable-elf-shlibs \ - --with-ldopts="${LDFLAGS}" \ - $(use_enable nls) \ - || die - emake -C lib/et || die -} - -src_test() { - make -C lib/et check || die "make check failed" -} - -src_install() { - make -C lib/et DESTDIR="${D}" install || die - dosed '/^ET_DIR=/s:=.*:=/usr/share/et:' /usr/bin/compile_et - dosym et/com_err.h /usr/include/com_err.h - - # Move shared libraries to /lib/, install static libraries to /usr/lib/, - # and install linker scripts to /usr/lib/. - dodir /$(get_libdir) - mv "${D}"/usr/$(get_libdir)/*.so* "${D}"/$(get_libdir)/ - dolib.a lib/libcom_err.a || die "dolib.a" - gen_usr_ldscript libcom_err.so -} - -pkg_postinst() { - echo - einfo "PLEASE PLEASE take note of this" - einfo "Please make *sure* to run revdep-rebuild now" - einfo "Certain things on your system may have linked against a" - einfo "different version of com_err -- those things need to be" - einfo "recompiled. Sorry for the inconvenience" - echo - epause 10 - ebeep -} diff --git a/sys-libs/com_err/files/com_err-1.37-sed-locale.patch b/sys-libs/com_err/files/com_err-1.37-sed-locale.patch deleted file mode 100644 index 1ba295d6aac3..000000000000 --- a/sys-libs/com_err/files/com_err-1.37-sed-locale.patch +++ /dev/null @@ -1,51 +0,0 @@ -diff -ur e2fsprogs-1.36.orig/config/config.rpath e2fsprogs-1.36/config/config.rpath ---- e2fsprogs-1.36.orig/config/config.rpath 2005-02-06 18:02:17.000000000 -0500 -+++ e2fsprogs-1.36/config/config.rpath 2005-02-06 18:04:13.000000000 -0500 -@@ -478,7 +478,7 @@ - escaped_sys_lib_search_path_spec=`echo "X$sys_lib_search_path_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` - escaped_sys_lib_dlsearch_path_spec=`echo "X$sys_lib_dlsearch_path_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` - --sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF -+sed -e 's/^\([[:alnum:]_]*\)=/acl_cv_\1=/' <<EOF - - # How to pass a linker flag through the compiler. - wl="$escaped_wl" -diff -ur e2fsprogs-1.36.orig/configure e2fsprogs-1.36/configure ---- e2fsprogs-1.36.orig/configure 2005-02-06 18:02:17.000000000 -0500 -+++ e2fsprogs-1.36/configure 2005-02-06 18:04:07.000000000 -0500 -@@ -1256,7 +1256,7 @@ - # value. - ac_cache_corrupted=false - for ac_var in `(set) 2>&1 | -- sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do -+ sed -n 's/^ac_env_\([[:alnum:]_]*\)_set=.*/\1/p'`; do - eval ac_old_set=\$ac_cv_env_${ac_var}_set - eval ac_new_set=\$ac_env_${ac_var}_set - eval ac_old_val="\$ac_cv_env_${ac_var}_value" -@@ -7487,7 +7487,7 @@ - esac - case $ac_prog in - # Accept absolute paths. -- [\\/]* | [A-Za-z]:[\\/]*) -+ [\\/]* | [[:alpha:]]:[\\/]*) - re_direlt='/[^/][^/]*/\.\./' - # Canonicalize the path of ld - ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` -@@ -15068,7 +15068,7 @@ - # is no need to browse any of the substitutions). - # These are the two extra sed commands mentioned above. - (echo ':t -- /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed -+ /@[[:alpha:]_][[:alnum:]_]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed - if test -z "$ac_sed_cmds"; then - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" - else -@@ -15258,7 +15258,7 @@ - _ACEOF - cat >>$CONFIG_STATUS <<\_ACEOF - :t --/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -+/@[[:alpha:]_][[:alnum:]_]*@/!b - s,@configure_input@,$configure_input,;t t - s,@srcdir@,$ac_srcdir,;t t - s,@abs_srcdir@,$ac_abs_srcdir,;t t diff --git a/sys-libs/com_err/files/digest-com_err-1.37 b/sys-libs/com_err/files/digest-com_err-1.37 deleted file mode 100644 index f0ccfbd55831..000000000000 --- a/sys-libs/com_err/files/digest-com_err-1.37 +++ /dev/null @@ -1 +0,0 @@ -MD5 084b49e919121fc0bf53c8dae23a71f8 e2fsprogs-1.37.tar.gz 3507693 diff --git a/sys-libs/ss/files/digest-ss-1.37 b/sys-libs/ss/files/digest-ss-1.37 deleted file mode 100644 index f0ccfbd55831..000000000000 --- a/sys-libs/ss/files/digest-ss-1.37 +++ /dev/null @@ -1 +0,0 @@ -MD5 084b49e919121fc0bf53c8dae23a71f8 e2fsprogs-1.37.tar.gz 3507693 diff --git a/sys-libs/ss/files/ss-1.37-sed-locale.patch b/sys-libs/ss/files/ss-1.37-sed-locale.patch deleted file mode 100644 index 1ba295d6aac3..000000000000 --- a/sys-libs/ss/files/ss-1.37-sed-locale.patch +++ /dev/null @@ -1,51 +0,0 @@ -diff -ur e2fsprogs-1.36.orig/config/config.rpath e2fsprogs-1.36/config/config.rpath ---- e2fsprogs-1.36.orig/config/config.rpath 2005-02-06 18:02:17.000000000 -0500 -+++ e2fsprogs-1.36/config/config.rpath 2005-02-06 18:04:13.000000000 -0500 -@@ -478,7 +478,7 @@ - escaped_sys_lib_search_path_spec=`echo "X$sys_lib_search_path_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` - escaped_sys_lib_dlsearch_path_spec=`echo "X$sys_lib_dlsearch_path_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` - --sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF -+sed -e 's/^\([[:alnum:]_]*\)=/acl_cv_\1=/' <<EOF - - # How to pass a linker flag through the compiler. - wl="$escaped_wl" -diff -ur e2fsprogs-1.36.orig/configure e2fsprogs-1.36/configure ---- e2fsprogs-1.36.orig/configure 2005-02-06 18:02:17.000000000 -0500 -+++ e2fsprogs-1.36/configure 2005-02-06 18:04:07.000000000 -0500 -@@ -1256,7 +1256,7 @@ - # value. - ac_cache_corrupted=false - for ac_var in `(set) 2>&1 | -- sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do -+ sed -n 's/^ac_env_\([[:alnum:]_]*\)_set=.*/\1/p'`; do - eval ac_old_set=\$ac_cv_env_${ac_var}_set - eval ac_new_set=\$ac_env_${ac_var}_set - eval ac_old_val="\$ac_cv_env_${ac_var}_value" -@@ -7487,7 +7487,7 @@ - esac - case $ac_prog in - # Accept absolute paths. -- [\\/]* | [A-Za-z]:[\\/]*) -+ [\\/]* | [[:alpha:]]:[\\/]*) - re_direlt='/[^/][^/]*/\.\./' - # Canonicalize the path of ld - ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` -@@ -15068,7 +15068,7 @@ - # is no need to browse any of the substitutions). - # These are the two extra sed commands mentioned above. - (echo ':t -- /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed -+ /@[[:alpha:]_][[:alnum:]_]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed - if test -z "$ac_sed_cmds"; then - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" - else -@@ -15258,7 +15258,7 @@ - _ACEOF - cat >>$CONFIG_STATUS <<\_ACEOF - :t --/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -+/@[[:alpha:]_][[:alnum:]_]*@/!b - s,@configure_input@,$configure_input,;t t - s,@srcdir@,$ac_srcdir,;t t - s,@abs_srcdir@,$ac_abs_srcdir,;t t diff --git a/sys-libs/ss/ss-1.37.ebuild b/sys-libs/ss/ss-1.37.ebuild deleted file mode 100644 index b11fa96a461c..000000000000 --- a/sys-libs/ss/ss-1.37.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/ss/ss-1.37.ebuild,v 1.11 2005/07/07 05:01:41 vapier Exp $ - -inherit eutils flag-o-matic toolchain-funcs - -DESCRIPTION="Subsystem command parsing library" -HOMEPAGE="http://e2fsprogs.sourceforge.net/" -SRC_URI="mirror://sourceforge/e2fsprogs/e2fsprogs-${PV}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86" -IUSE="nls" - -RDEPEND=">=sys-libs/com_err-${PV}" -DEPEND="${RDEPEND} - nls? ( sys-devel/gettext )" - -S=${WORKDIR}/e2fsprogs-${PV} - -src_unpack() { - unpack ${A} - cd "${S}" - # Patch to make the configure and sed scripts more friendly to, - # for example, the Estonian locale - epatch "${FILESDIR}"/${P}-sed-locale.patch - # Clean up makefile to suck less - epatch "${FILESDIR}"/${P}-makefile.patch - - # Keep the package from doing silly things - export LDCONFIG=/bin/true - export CC=$(tc-getCC) - export STRIP=/bin/true -} - -src_compile() { - econf \ - --enable-elf-shlibs \ - --with-ldopts="${LDFLAGS}" \ - $(use_enable nls) \ - || die - emake -C lib/ss COMPILE_ET=compile_et || die "make ss failed" -} - -src_test() { - make -C lib/ss check || die "make check failed" -} - -src_install() { - dodir /usr/share/man/man1 - make -C lib/ss DESTDIR="${D}" install || die - - # Move shared libraries to /lib/, install static libraries to /usr/lib/, - # and install linker scripts to /usr/lib/. - dodir /$(get_libdir) - mv "${D}"/usr/$(get_libdir)/*.so* "${D}"/$(get_libdir)/ - dolib.a lib/libss.a || die "dolib.a" - gen_usr_ldscript libss.so -} |