我的linux历程
linuxGentoo
全部博文(90)
python(1)
2010年(7)
2009年(23)
2008年(60)
adofirst
yl225143
Jevon_ji
hd141283
zxpkyo
yjd333
zxxkevin
sunny312
DrogbaTo
分类: LINUX
2008-09-13 15:48:04
DESCRIPTION="DMI (Desktop Management Interface) table related utilities" HOMEPAGE="" LICENSE="GPLv2" PR = "r0" SRC_URI="{PN}-${PV}.tar.bz2" S = ${WORKDIR}/${PN}-${PV} python __anonymous () { import re host = bb.data.getVar('HOST_SYS', d, 1) if not re.match('i.86.*-linux', host): raise bb.parse.SkipPackage("incompatible with host %s" % host) } do_compile () { sed -i \ -e '/^prefix/s:/usr/local:/usr:' \ -e "/^docdir/s:dmidecode:${PN}-${PV}:" \ Makefile oe_runmake } do_install() { oe_runmake DESTDIR="${D}" install }
上一篇:tab completion in python interpreter
下一篇:strip首尾空白字符
登录 注册