1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- set -e
- program=alsa-lib
- version=1.2.6.1
- release=1
- pkgcategory=libs
- tarname=${program}-${version}.tar.bz2
- fetch=ftp://ftp.alsa-project.org/pub/lib/$tarname
- description="
- The ALSA library.
- The alsa-lib package contains the ALSA library. This is used by
- programs (including ALSA utilities) requiring access to the ALSA
- sound interface.
- "
- homepage=https://alsa-project.org
- license=LGPLv2.1
- docs="COPYING ChangeLog MEMORY-LEAK NOTES TODO version doc/asoundrc.txt"
- 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} \
- --without-versioned \
- --build="$(gcc -dumpmachine)"
- make -j${jobs} V=1
- make -j${jobs} DESTDIR="$destdir" install
-
- mkdir -p "${destdir}/$docsdir"
- cp -p $docs "${destdir}/$docsdir"
- }
|