wok-next annotate ladspa/receipt @ rev 20869
mono: fix build on 32-bit
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 02 10:15:48 2018 +0300 (2018-07-02) |
parents | 2a5cc8208d36 |
children | d5aab818505e |
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" |
slaxemulator@6803 | 7 MAINTAINER="jozee@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@20229 | 14 SPLIT="ladspa-dev" |
al@20229 | 15 |
al@20229 | 16 compile_rules() { |
al@20229 | 17 cd src |
al@20229 | 18 sed -i \ |
al@20229 | 19 -e 's/mkdirhier/mkdir -p/' \ |
al@20229 | 20 -e "s#-O3#${CFLAGS} ${LDFLAGS/,--as-needed/}#" \ |
al@20229 | 21 makefile |
al@20229 | 22 make targets && |
pascal@15079 | 23 make INSTALL_PLUGINS_DIR=$DESTDIR/usr/lib/ladspa/ \ |
al@20229 | 24 INSTALL_INCLUDE_DIR=$DESTDIR/usr/include/ \ |
al@20229 | 25 INSTALL_BINARY_DIR=$DESTDIR/usr/bin/ \ |
al@20229 | 26 install |
slaxemulator@6803 | 27 } |
al@20229 | 28 |
al@20229 | 29 genpkg_rules() { |
al@20229 | 30 case $PACKAGE in |
al@20229 | 31 ladspa) |
al@20229 | 32 copy @std |
al@20229 | 33 TAGS="multimedia" |
al@20229 | 34 ;; |
al@20229 | 35 *-dev) |
al@20229 | 36 copy @dev |
al@20229 | 37 ;; |
al@20229 | 38 esac |
slaxemulator@6803 | 39 } |