wok-next annotate libmad/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | c4e53a39395a |
children | d5aab818505e |
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" |
pankso@32 | 7 MAINTAINER="pankso@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@20328 | 15 SPLIT="libmad-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 } |