diff options
author | Donnie Berkholz <spyderous@gentoo.org> | 2006-06-30 22:46:53 +0000 |
---|---|---|
committer | Donnie Berkholz <spyderous@gentoo.org> | 2006-06-30 22:46:53 +0000 |
commit | 1a0f33147613bc00ffdbcc0fafb9918af35e56d1 (patch) | |
tree | 03033c88e865974e90c7c4523ba950fb7dd6326b /x11-libs/libdrm | |
parent | Pull old versions. (diff) | |
download | gentoo-2-1a0f33147613bc00ffdbcc0fafb9918af35e56d1.tar.gz gentoo-2-1a0f33147613bc00ffdbcc0fafb9918af35e56d1.tar.bz2 gentoo-2-1a0f33147613bc00ffdbcc0fafb9918af35e56d1.zip |
Restore mistakenly removed ebuild.
(Portage version: 2.1.1_pre1-r1)
Diffstat (limited to 'x11-libs/libdrm')
-rw-r--r-- | x11-libs/libdrm/ChangeLog | 5 | ||||
-rw-r--r-- | x11-libs/libdrm/files/digest-libdrm-2.0.1 | 3 | ||||
-rw-r--r-- | x11-libs/libdrm/libdrm-2.0.1.ebuild | 36 |
3 files changed, 43 insertions, 1 deletions
diff --git a/x11-libs/libdrm/ChangeLog b/x11-libs/libdrm/ChangeLog index 0ae30007c577..70717bfe052c 100644 --- a/x11-libs/libdrm/ChangeLog +++ b/x11-libs/libdrm/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for x11-libs/libdrm # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/libdrm/ChangeLog,v 1.25 2006/06/30 22:43:16 spyderous Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/libdrm/ChangeLog,v 1.26 2006/06/30 22:46:53 spyderous Exp $ + + 30 Jun 2006; Donnie Berkholz <spyderous@gentoo.org>; +libdrm-2.0.1.ebuild: + Restore mistakenly removed ebuild. 30 Jun 2006; Donnie Berkholz <spyderous@gentoo.org>; -libdrm-2.0.ebuild, -libdrm-2.0.1.ebuild: diff --git a/x11-libs/libdrm/files/digest-libdrm-2.0.1 b/x11-libs/libdrm/files/digest-libdrm-2.0.1 new file mode 100644 index 000000000000..bf6dff782dc9 --- /dev/null +++ b/x11-libs/libdrm/files/digest-libdrm-2.0.1 @@ -0,0 +1,3 @@ +MD5 1f4d59a4c77756b364c6f4e5665f9c27 libdrm-2.0.1.tar.gz 383795 +RMD160 a77432e46099acf9b952d005f49369a7985e8427 libdrm-2.0.1.tar.gz 383795 +SHA256 864d5165a8ea03326f23902e92bb4ae26cfd89b43ccc16ab5a58def019cb59b0 libdrm-2.0.1.tar.gz 383795 diff --git a/x11-libs/libdrm/libdrm-2.0.1.ebuild b/x11-libs/libdrm/libdrm-2.0.1.ebuild new file mode 100644 index 000000000000..aff0eb6a926a --- /dev/null +++ b/x11-libs/libdrm/libdrm-2.0.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/libdrm/libdrm-2.0.1.ebuild,v 1.6 2006/06/30 22:46:53 spyderous Exp $ + +# Must be before x-modular eclass is inherited +#SNAPSHOT="yes" + +inherit x-modular + +DESCRIPTION="X.Org libdrm library" +HOMEPAGE="http://dri.freedesktop.org/" +SRC_URI="http://dri.freedesktop.org/libdrm/${P}.tar.gz" +KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd" +RDEPEND="" +DEPEND="${RDEPEND}" + +pkg_preinst() { + x-modular_pkg_preinst + + if [[ -e ${ROOT}/usr/$(get_libdir)/libdrm.so.1 ]] ; then + cp -pPR "${ROOT}"/usr/$(get_libdir)/libdrm.so.{1,1.0.0} "${IMAGE}"/usr/$(get_libdir)/ + fi +} + +pkg_postinst() { + x-modular_pkg_postinst + + if [[ -e ${ROOT}/usr/$(get_libdir)/libdrm.so.1 ]] ; then + ewarn "You must re-compile all packages that are linked against" + ewarn "libdrm 1 by using revdep-rebuild from gentoolkit:" + ewarn "# revdep-rebuild --library libdrm.so.1" + ewarn "After this, you can delete /usr/$(get_libdir)/libdrm.so.1" + ewarn "and /usr/$(get_libdir)/libdrm.so.1.0.0 ." + epause + fi +} |