You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-tcltk/ck/ck-8.0.ebuild

32 lines
812 B

# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/ck/ck-8.0.ebuild,v 1.11 2007/07/15 03:37:38 mr_bones_ Exp $
MY_P=${PN}${PV}
S=${WORKDIR}/${MY_P}
DESCRIPTION="A curses based toolkit for tcl"
HOMEPAGE="http://www.ch-werner.de/ck/"
SRC_URI="http://www.ch-werner.de/ck/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="x86"
IUSE=""
DEPEND=">=dev-lang/tk-8.0
>=sys-apps/sed-4"
src_compile() {
local myconf="--with-tcl=/usr/lib --enable-shared"
econf ${myconf} || die "econf failed"
emake CFLAGS="${CFLAGS}" || die
# patch Makefile
sed -i -e "s:mkdir:mkdir -p:g" \
-e "s|install: |install: install-man |" Makefile
}
src_install() {
dodoc README license.terms
einstall || die "Failed to install."
}