123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- set -e
- program=fortify-headers
- version=1.1
- arch=noarch
- release=1
- pkgcategory=devel
- tarname=${program}-${version}.tar.gz
- fetch=https://dl.2f30.org/releases/$tarname
- description="
- Standalone fortify source implementation.
- This is a standalone implementation of fortify source. It provides
- compile time buffer checks. It is libc-agnostic and simply overlays
- the system headers by using the #include_next extension found in GCC.
- It was initially intended to be used on musl based GNU/Linux
- distributions.
- "
- homepage=https://git.2f30.org/fortify-headers/
- license=BSD
- docs="README LICENSE"
- docsdir="${docdir}/${program}-${version}"
- jobs=1
- build()
- {
- unpack "${tardir}/$tarname"
- cd "$srcdir"
-
- chmod -R u+w,go-w,a+rX-s .
- make -j${jobs} PREFIX=/usr DESTDIR="$destdir" install
-
- mkdir -p "${destdir}/$docsdir"
- cp -p $docs "${destdir}/$docsdir"
- }
|