1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- set -e
- program=libburn
- version=1.5.4
- release=1
- pkgcategory=libs
- tarname=${program}-${version}.tar.gz
- fetch=http://files.libburnia-project.org/releases/$tarname
- description="
- Library to read/write optical discs.
- libburn is a library for writing preformatted data onto optical media:
- CD, DVD and BD (Blu-Ray).
- "
- homepage=https://dev.lovelyhq.com/libburnia
- license=GPLv2+
- docs="AUTHORS CONTRIBUTORS COPYING COPYRIGHT ChangeLog NEWS README"
- docsdir="${docdir}/${program}-${version}"
- build()
- {
- unpack "${tardir}/$tarname"
- cd "$srcdir"
-
- chmod -R u+w,go-w,a+rX-s .
- ./configure CPPFLAGS="$QICPPFLAGS" \
- CFLAGS="$QICFLAGS" LDFLAGS="$QILDFLAGS" \
- $configure_args \
- --libdir=/usr/lib${libSuffix} \
- --docdir=$docsdir \
- --enable-shared=yes \
- --enable-static=no \
- --build="$(gcc -dumpmachine)"
- make -j${jobs} V=1
- make -j${jobs} DESTDIR="$destdir" install-strip
- lzip -9 "${destdir}${mandir}"/man?/*
-
- mkdir -p "${destdir}/$docsdir"
- cp -p $docs "${destdir}/$docsdir"
- }
|