wok-next annotate mpg123/receipt @ rev 21105
Small updates... "bzip2" and "cairo": follow "libpkg - pkg - pkg-dev" rule
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 04 17:29:48 2019 +0200 (2019-01-04) |
parents | 556349764d57 |
children |
rev | line source |
---|---|
al@20459 | 1 # SliTaz package receipt v2. |
pankso@32 | 2 |
pankso@32 | 3 PACKAGE="mpg123" |
pankso@16509 | 4 VERSION="1.19.0" |
pankso@177 | 5 CATEGORY="multimedia" |
paul@4627 | 6 SHORT_DESC="Command line audio player and streamer" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
al@20459 | 9 WEB_SITE="http://www.mpg123.de/" |
al@20459 | 10 |
pankso@32 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@32 | 12 WGET_URL="http://www.mpg123.de/download/$TARBALL" |
pankso@32 | 13 |
pankso@16490 | 14 BUILD_DEPENDS="alsa-lib-dev audiofile-dev" |
al@21020 | 15 SPLIT="$PACKAGE-dev" |
pankso@16490 | 16 |
al@20459 | 17 compile_rules() { |
al@20459 | 18 case "$ARCH" in |
al@21020 | 19 i486) ARCH_ARGS="--with-cpu=i486";; |
al@20459 | 20 esac |
pascal@14996 | 21 |
pankso@191 | 22 ./configure \ |
paul@4633 | 23 --with-default-audio=alsa \ |
al@20557 | 24 $ARCH_ARGS \ |
al@20557 | 25 $CONFIGURE_ARGS && |
al@20599 | 26 fix libtool && |
al@20557 | 27 make && |
al@20557 | 28 make install |
pankso@32 | 29 } |
pankso@32 | 30 |
al@20459 | 31 genpkg_rules() { |
al@20459 | 32 case $PACKAGE in |
al@20459 | 33 mpg123) |
al@20557 | 34 copy @std *.la # la file required to work - don't remove |
al@20459 | 35 DEPENDS="alsa-lib audiofile libltdl" |
al@20459 | 36 ;; |
al@20459 | 37 *-dev) |
al@20557 | 38 copy @dev |
al@20459 | 39 ;; |
al@20459 | 40 esac |
pankso@32 | 41 } |