/[gentoo-x86]/eclass/common-lisp-common-3.eclass
Gentoo

Diff of /eclass/common-lisp-common-3.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/common-lisp-common-3.eclass,v 1.1 2006/11/09 02:26:43 mkennedy Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/common-lisp-common-3.eclass,v 1.2 2009/09/18 15:35:50 hkbst Exp $
4# 4#
5# Author Matthew Kennedy <mkennedy@gentoo.org> 5# Author Matthew Kennedy <mkennedy@gentoo.org>
6# 6#
7# Sundry code common to many Common Lisp related ebuilds. Some 7# Sundry code common to many Common Lisp related ebuilds. Some
8# implementation use the Portage time stamp hack to ensure their 8# implementation use the Portage time stamp hack to ensure their
18# use packages and files from the Debian project's archives. 18# use packages and files from the Debian project's archives.
19 19
20do-debian-credits() { 20do-debian-credits() {
21 docinto debian 21 docinto debian
22 for i in copyright README.Debian changelog; do 22 for i in copyright README.Debian changelog; do
23 test -f $i && dodoc ${S}/debian/${i} 23 test -f $i && dodoc "${S}"/debian/${i}
24 done 24 done
25 docinto . 25 docinto .
26} 26}
27 27
28# BIG FAT HACK: Since the Portage emerge step kills file timestamp 28# BIG FAT HACK: Since the Portage emerge step kills file timestamp
36# need for this hack. 36# need for this hack.
37 37
38impl-save-timestamp-hack() { 38impl-save-timestamp-hack() {
39 local impl=$1 39 local impl=$1
40 dodir /usr/share/${impl} 40 dodir /usr/share/${impl}
41 tar cpjf ${D}/usr/share/${impl}/portage-timestamp-compensate -C ${D}/usr/$(get_libdir)/${impl} . 41 tar cpjf "${D}"/usr/share/${impl}/portage-timestamp-compensate -C "${D}"/usr/$(get_libdir)/${impl} .
42} 42}
43 43
44impl-restore-timestamp-hack() { 44impl-restore-timestamp-hack() {
45 local impl=$1 45 local impl=$1
46 tar xjpfo /usr/share/${impl}/portage-timestamp-compensate -C /usr/$(get_libdir)/${impl} 46 tar xjpfo /usr/share/${impl}/portage-timestamp-compensate -C /usr/$(get_libdir)/${impl}

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20