1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- program=tree
- version=1.8.0
- release=1
- outdir="${outdir}/${arch}/tools"
- tarname=${program}-${version}.tgz
- fetch=http://mama.indstate.edu/users/ice/tree/src/"$tarname"
- description="
- Tree is a recursive directory listing command.
- Tree produces a depth indented listing of files, which is colorized
- ala dircolors if the LS_COLORS environment variable is set and output
- is to tty. Tree has been ported and reported to work under the
- following operating systems: Linux, FreeBSD, OS X, Solaris,
- HP/UX, Cygwin, HP Nonstop and OS/2.
- "
- homepage=http://mama.indstate.edu/users/ice/tree/
- license=GPLv2+
- docs="CHANGES LICENSE README TODO"
- docsdir="${docdir}/${program}-${version}"
- build()
- {
- set -e
- unpack "${tardir}/$tarname"
- cd "$srcdir"
-
- make -j${jobs} \
- CFLAGS="$QICFLAGS -Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" \
- LDFLAGS="$QILDFLAGS -static" \
- prefix="${destdir}/usr" \
- MANDIR="${destdir}/${mandir}/man1" install
- lzip -9 "${destdir}/${mandir}/man1/tree.1"
-
- mkdir -p "${destdir}${docsdir}"
- cp -p $docs "${destdir}${docsdir}/"
- }
|