wok-next annotate ladspa/receipt @ rev 21683

updated glances (1.5.1 -> 3.1.4.1)
author Hans-G?nter Theisgen
date Mon Jun 29 15:35:41 2020 +0100 (2020-06-29)
parents c37d2f8310e0
children
rev   line source
al@20229 1 # SliTaz package receipt v2.
slaxemulator@6803 2
slaxemulator@6803 3 PACKAGE="ladspa"
slaxemulator@6803 4 VERSION="1.13"
slaxemulator@6803 5 CATEGORY="multimedia"
al@20229 6 SHORT_DESC="LADSPA: Linux Audio Developer's Simple Plugin API"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15379 8 LICENSE="LGPL2.1"
slaxemulator@6803 9 WEB_SITE="http://www.ladspa.org/"
slaxemulator@6803 10
al@20229 11 TARBALL="ladspa_sdk_$VERSION.tgz"
al@20229 12 WGET_URL="https://github.com/OpenMandrivaAssociation/ladspa/raw/master/$TARBALL"
pascal@15079 13
al@21020 14 SPLIT="$PACKAGE-dev"
al@20229 15
al@20229 16 compile_rules() {
al@21020 17 cd $src/src
al@21020 18 sed \
al@20229 19 -e 's/mkdirhier/mkdir -p/' \
al@21020 20 -e "s#-O3#$CFLAGS ${LDFLAGS/,--as-needed/}#" \
al@21020 21 -i makefile
al@21020 22
al@20229 23 make targets &&
al@21020 24 make \
al@21020 25 INSTALL_PLUGINS_DIR=$install/usr/lib/ladspa/ \
al@21020 26 INSTALL_INCLUDE_DIR=$install/usr/include/ \
al@21020 27 INSTALL_BINARY_DIR=$install/usr/bin/ \
al@20229 28 install
slaxemulator@6803 29 }
al@20229 30
al@20229 31 genpkg_rules() {
al@20229 32 case $PACKAGE in
al@20229 33 ladspa)
al@20229 34 copy @std
al@20229 35 TAGS="multimedia"
al@20229 36 ;;
al@20229 37 *-dev)
al@20229 38 copy @dev
al@20229 39 ;;
al@20229 40 esac
slaxemulator@6803 41 }