@@ -10,13 +10,10 @@ from pisi.actionsapi import pisitools
|
|||||||
from pisi.actionsapi import get
|
from pisi.actionsapi import get
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
# write sed commands using pisitools.dosed :)
|
|
||||||
shelltools.system('sed -i "/^SUBDIRS/s/locate//" Makefile.in')
|
|
||||||
#shelltools.system('sed -i "/gets is a security hole/d" gnulib/lib/stdio.in.h')
|
|
||||||
|
|
||||||
shelltools.export("CFLAGS", "%s -D_GNU_SOURCE" % get.CFLAGS())
|
shelltools.export("CFLAGS", "%s -D_GNU_SOURCE" % get.CFLAGS())
|
||||||
|
|
||||||
autotools.configure("--enable-nls \
|
autotools.configure("--enable-nls \
|
||||||
|
--localstatedir=/var/lib/locate \
|
||||||
--without-included-regex \
|
--without-included-regex \
|
||||||
--disable-rpath \
|
--disable-rpath \
|
||||||
--disable-assert \
|
--disable-assert \
|
||||||
@@ -31,6 +28,6 @@ def check():
|
|||||||
autotools.make("check")
|
autotools.make("check")
|
||||||
|
|
||||||
def install():
|
def install():
|
||||||
autotools.install()
|
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||||
|
|
||||||
pisitools.dodoc("ChangeLog", "NEWS", "TODO", "README")
|
pisitools.dodoc("ChangeLog", "NEWS", "TODO", "README")
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
<Archive sha1sum="f18e8aaee3f3d4173a1f598001003be8706d28b0" type="targz">http://ftp.gnu.org/pub/gnu/findutils/findutils-4.6.0.tar.gz</Archive>
|
<Archive sha1sum="f18e8aaee3f3d4173a1f598001003be8706d28b0" type="targz">http://ftp.gnu.org/pub/gnu/findutils/findutils-4.6.0.tar.gz</Archive>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency>gettext-devel</Dependency>
|
<Dependency>gettext-devel</Dependency>
|
||||||
|
<Dependency>texinfo</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
</Source>
|
</Source>
|
||||||
|
|
||||||
@@ -23,10 +24,12 @@
|
|||||||
<Files>
|
<Files>
|
||||||
<Path fileType="executable">/usr/bin</Path>
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
<Path fileType="library">/usr/lib/find</Path>
|
<Path fileType="library">/usr/lib/find</Path>
|
||||||
|
<Path fileType="library">/usr/libexec</Path>
|
||||||
<Path fileType="doc">/usr/share/doc</Path>
|
<Path fileType="doc">/usr/share/doc</Path>
|
||||||
<Path fileType="man">/usr/share/man</Path>
|
<Path fileType="man">/usr/share/man</Path>
|
||||||
<Path fileType="info">/usr/share/info</Path>
|
<Path fileType="info">/usr/share/info</Path>
|
||||||
<Path fileType="localedata">/usr/share/locale</Path>
|
<Path fileType="localedata">/usr/share/locale</Path>
|
||||||
|
<Path fileType="data">/var</Path>
|
||||||
</Files>
|
</Files>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user