summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2008-10-05 11:49:52 +0000
committerTorsten Veller <tove@gentoo.org>2008-10-05 11:49:52 +0000
commit319b6752b01e8c78c6955f1b9ed2c29764e5778b (patch)
treeecffd2d723aa3c6d1ce856eb52f5d9c8ec27157e /app-misc
parentVersion bump, fixes bug 239869. (diff)
downloadgentoo-2-319b6752b01e8c78c6955f1b9ed2c29764e5778b.tar.gz
gentoo-2-319b6752b01e8c78c6955f1b9ed2c29764e5778b.tar.bz2
gentoo-2-319b6752b01e8c78c6955f1b9ed2c29764e5778b.zip
Version bump
(Portage version: 2.2_rc11/cvs/Linux 2.6.26-tuxonice i686)
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/pal/ChangeLog8
-rw-r--r--app-misc/pal/files/0.4.3-ldflags.patch8
-rw-r--r--app-misc/pal/files/0.4.3-strip.patch17
-rw-r--r--app-misc/pal/pal-0.4.3.ebuild56
4 files changed, 88 insertions, 1 deletions
diff --git a/app-misc/pal/ChangeLog b/app-misc/pal/ChangeLog
index 9f23e9105126..9b33023d5a12 100644
--- a/app-misc/pal/ChangeLog
+++ b/app-misc/pal/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/pal
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/pal/ChangeLog,v 1.24 2008/07/31 16:47:39 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/pal/ChangeLog,v 1.25 2008/10/05 11:49:51 tove Exp $
+
+*pal-0.4.3 (05 Oct 2008)
+
+ 05 Oct 2008; Torsten Veller <tove@gentoo.org> +files/0.4.3-ldflags.patch,
+ +files/0.4.3-strip.patch, +pal-0.4.3.ebuild:
+ Version bump
31 Jul 2008; Ulrich Mueller <ulm@gentoo.org> metadata.xml:
Add USE flag description to metadata wrt GLEP 56.
diff --git a/app-misc/pal/files/0.4.3-ldflags.patch b/app-misc/pal/files/0.4.3-ldflags.patch
new file mode 100644
index 000000000000..abd8da3fe85f
--- /dev/null
+++ b/app-misc/pal/files/0.4.3-ldflags.patch
@@ -0,0 +1,8 @@
+--- pal-0.4.3/src/Makefile.defs
++++ pal-0.4.3/src/Makefile.defs
+@@ -25,4 +25,4 @@
+
+ CFLAGS = ${OPT}
+ CPPFLAGS = ${INCLDIR} ${DEFS}
+-LDFLAGS = ${LIBDIR} ${LIBS}
++LDFLAGS = ${LIBDIR} ${LIBS} ${LDOPT}
diff --git a/app-misc/pal/files/0.4.3-strip.patch b/app-misc/pal/files/0.4.3-strip.patch
new file mode 100644
index 000000000000..00ff9a6d5c46
--- /dev/null
+++ b/app-misc/pal/files/0.4.3-strip.patch
@@ -0,0 +1,17 @@
+--- pal-0.4.2/src/Makefile
++++ pal-0.4.2/src/Makefile
+@@ -21,10 +21,10 @@
+ $(NAME): $(OBJ)
+ @echo " [gcc] $(NAME)"
+ @$(CC) $(CFLAGS) $(OBJ) $(LDFLAGS) -o $(NAME)
+-ifneq ($(DEBUG),1)
+- @echo " [strip] $(NAME)"
+- @strip $(NAME)
+-endif
++#ifneq ($(DEBUG),1)
++# @echo " [strip] $(NAME)"
++# @strip $(NAME)
++#endif
+
+
+
diff --git a/app-misc/pal/pal-0.4.3.ebuild b/app-misc/pal/pal-0.4.3.ebuild
new file mode 100644
index 000000000000..61144f46f570
--- /dev/null
+++ b/app-misc/pal/pal-0.4.3.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/pal/pal-0.4.3.ebuild,v 1.1 2008/10/05 11:49:51 tove Exp $
+
+inherit toolchain-funcs eutils
+
+DESCRIPTION="pal command-line calendar program"
+HOMEPAGE="http://palcal.sourceforge.net/"
+SRC_URI="mirror://sourceforge/palcal/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~x86"
+IUSE="nls unicode"
+
+RDEPEND=">=dev-libs/glib-2.0
+ sys-libs/readline
+ sys-libs/ncurses
+ nls? ( virtual/libintl )"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+S="${WORKDIR}/${P}/src"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PV}-strip.patch
+ epatch "${FILESDIR}"/${PV}-ldflags.patch
+ if use unicode ; then
+ if built_with_use sys-libs/ncurses unicode ; then
+ sed -i "/^LIBS/s/-lncurses/&w/" "${S}"/Makefile || die
+ else
+ ewarn "Rebuild sys-libs/ncurses with unicode before you try"
+ ewarn "to build app-misc/pal with unicode support!"
+ fi
+ fi
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" OPT="${CFLAGS}" LDOPT="${LDFLAGS}" \
+ || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install-man install-bin install-share \
+ || die "make install failed"
+
+ if use nls; then
+ make DESTDIR="${D}" install-mo || die "make install-mo failed"
+ fi
+
+ dodoc "${WORKDIR}"/${P}/{ChangeLog,doc/example.css} || die "dodoc failed"
+}