talimat 803 B

123456789101112131415161718192021222324252627282930
  1. # Description: Linux Ses Geliştiricisinin Basit Eklenti API'sı (LADSPA)
  2. # URL: http://www.ladspa.org/
  3. # Packager: alihan-ozturk28@hotmail.com
  4. # Depends on :
  5. name=ladspa
  6. version=1.13
  7. release=1
  8. source=(https://github.com/OpenMandrivaAssociation/ladspa/raw/master/ladspa_sdk_$version.tgz
  9. ladspa-fix-memleak-in-plugin-scanning.patch
  10. ladspa-fallback-ladspa-path.patch)
  11. build() {
  12. cd ladspa_sdk/src
  13. patch -Np1 -i ../../ladspa-fix-memleak-in-plugin-scanning.patch
  14. patch -Np2 -i ../../ladspa-fallback-ladspa-path.patch
  15. sed \
  16. -e 's/mkdirhier/mkdir -p/' \
  17. -e "s#-O3#${CFLAGS} ${LDFLAGS/,--as-needed/}#" \
  18. -i makefile
  19. make targets
  20. make INSTALL_PLUGINS_DIR="$PKG/usr/lib/ladspa/" \
  21. INSTALL_INCLUDE_DIR="$PKG/usr/include/" \
  22. INSTALL_BINARY_DIR="$PKG/usr/bin/" install
  23. }