add tree repo

This commit is contained in:
aydemir
2015-08-07 17:56:07 +03:00
parent 8c6e9d1562
commit 8be1bec0dc
4 changed files with 116 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def build():
autotools.make('CC="%s" \
CFLAGS="%s -fomit-frame-pointer -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" \
LDFLAGS="%s"' % (get.CC(), get.CFLAGS(), get.LDFLAGS()))
def install():
pisitools.dobin("tree")
pisitools.doman("doc/tree.1")
pisitools.dodoc("CHANGES", "README*")