LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 528|回复: 0

dtc-1.2.0 ebuild

[复制链接]
发表于 2010-1-14 15:42:21 | 显示全部楼层 |阅读模式
gentoo的portage里面只有dtc-1.0.0的ebuild, 能否更新一个 dtc-1.2.0.ebuild呢? (应该非常简单)


  1. # Copyright 1999-2008 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. # $Header: /var/cvsroot/gentoo-x86/sys-apps/dtc/dtc-1.2.0.ebuild,v 1.5 2008/02/20 23:01:54 coldwind Exp $

  4. inherit eutils

  5. DESCRIPTION="Utility to pre-compile Open Firmware device-trees for otherwise device-tree-less devices such as the PS3"
  6. HOMEPAGE="http://www.t2-project.org/packages/dtc.html"
  7. SRC_URI="http://www.jdl.com/software/${PN}-v${PV}.tgz"

  8. LICENSE="GPL-2"
  9. SLOT="0"
  10. KEYWORDS="~amd64 ppc ppc64 ~x86"
  11. IUSE=""
  12. S="${WORKDIR}/${PN}-v${PV}"

  13. src_compile () {
  14.         emake PREFIX="/usr" LIBDIR="/usr/$(get_libdir)"
  15. }

  16. src_install () {
  17.         make DESTDIR="${D}" \
  18.                  PREFIX="/usr" \
  19.                  LIBDIR="/usr/$(get_libdir)" \
  20.                  install
  21.         dodoc Documentation/manual.txt
  22. }
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表