wok-next annotate libmad/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 25deb7c6df08 |
children | 33293021c26d |
rev | line source |
---|---|
al@20328 | 1 # SliTaz package receipt v2. |
pankso@32 | 2 |
pankso@32 | 3 PACKAGE="libmad" |
pankso@32 | 4 VERSION="0.15.1b" |
pankso@206 | 5 CATEGORY="multimedia" |
al@20328 | 6 SHORT_DESC="MPEG audio decoder library" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15473 | 8 LICENSE="GPL2" |
pankso@32 | 9 WEB_SITE="http://www.underbit.com/products/mad/" |
pankso@32 | 10 |
al@20328 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20328 | 12 WGET_URL="$SF_MIRROR/mad/$TARBALL" |
al@19678 | 13 |
al@20328 | 14 BUILD_DEPENDS="automake libtool gfortran" |
al@21020 | 15 SPLIT="$PACKAGE-dev" |
al@20328 | 16 |
al@20328 | 17 compile_rules() { |
al@20328 | 18 CFLAGS="$CFLAGS -ftree-vectorize -ftree-vectorizer-verbose=1" |
al@20328 | 19 touch NEWS AUTHORS ChangeLog |
al@20328 | 20 autoreconf -fi || return 1 |
al@20328 | 21 |
al@20577 | 22 ./configure $CONFIGURE_ARGS && |
al@20577 | 23 fix libtool && |
al@20577 | 24 make && |
al@20577 | 25 make install |
pankso@32 | 26 } |
pankso@32 | 27 |
al@20328 | 28 genpkg_rules() { |
al@20328 | 29 case $PACKAGE in |
al@20577 | 30 libmad) copy @std;; |
al@20577 | 31 *-dev) copy @dev;; |
al@20328 | 32 esac |
pankso@32 | 33 } |