--- parted-1.4.24-r2.ebuild Wed Mar 27 11:19:10 2002 +++ parted-1.4.24-r3.ebuild Thu Mar 28 01:49:12 2002 @@ -10,36 +10,20 @@ HOMEPAGE="http://www.gnu.org/software/${PN}" DEPEND="virtual/glibc - >=sys-apps/e2fsprogs-1.19-r2 - readline? ( >=sys-libs/readline-4.1-r2 ) - nls? ( >=sys-devel/gettext-0.10.38 ) - python? ( >=dev-lang/python-2.0 )" - -src_unpack() { - unpack ${A} - if [ -z "`use nls`" ] - then - touch ${S}/parted/libintl.h - touch ${S}/debug/clearfat/libintl.h - find ${S}/libparted/ -type d -exec touch {}/libintl.h \; - fi -} + >=sys-apps/e2fsprogs-1.27 + >=sys-libs/ncurses-5.2-r5 + readline? ( >=sys-libs/readline-4.1-r4 ) + nls? ()" src_compile() { + local myconf - if [ "`use readline`" ] - then - myconf="${myconf} --with-readline" - fi - if [ "`use python`" ] - then - myconf="${myconf} --with-python" - fi - if [ -z "`use nls`" ] - then + use readline && myconf="${myconf} --with-readline" || \ + myconf="${myconf} --without-readline" + + use nls && myconf="${myconf} --enable-nls" || \ myconf="${myconf} --disable-nls" - fi - + ./configure --prefix=/usr \ --target=${CHOST} \ --mandir=/usr/share/man \ @@ -54,9 +38,10 @@ if [ -z "`use bootcd`" ] then - dodoc ABOUT-NLS AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO + dodoc ABOUT-NLS AUTHORS BUGS COPYING ChangeLog INSTALL NEWS \ + README THANKS TODO cd doc ; docinto doc - dodoc API COPYING.DOC FAT USER USER.jp + dodoc API COPYING.DOC FAQ FAT USER USER.jp else rm -rf ${D}/usr/share ${D}/usr/include ${D}/usr/lib/lib*.{a,la} fi