wok-current annotate flac/receipt @ rev 21618
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 24 19:05:22 2019 +0200 (2019-05-24) |
parents | 2f45bddbfd08 |
children | 8c7632a2b212 |
rev | line source |
---|---|
pankso@292 | 1 # SliTaz package receipt. |
pankso@292 | 2 |
pankso@292 | 3 PACKAGE="flac" |
slaxemulator@15839 | 4 VERSION="1.3.0" |
pankso@292 | 5 CATEGORY="multimedia" |
pankso@292 | 6 SHORT_DESC="FLAC stands for Free Lossless Audio Codec." |
pankso@292 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15588 | 8 LICENSE="GPL2 LGPL2.1" |
pascal@15844 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@292 | 10 WEB_SITE="http://flac.sourceforge.net/" |
pascal@20669 | 11 WGET_URL="https://downloads.xiph.org/releases/$PACKAGE/$TARBALL" |
jozee@4936 | 12 TAGS="codec audio" |
pascal@19116 | 13 HOST_ARCH="i486 arm" |
pankso@292 | 14 |
pascal@15588 | 15 DEPENDS="libogg gcc-lib-base" |
pascal@15588 | 16 BUILD_DEPENDS="libogg-dev" |
pascal@15588 | 17 |
pankso@292 | 18 # Rules to configure and make the package. |
pankso@292 | 19 compile_rules() |
pankso@292 | 20 { |
erjo@4217 | 21 # gcc4 fix: http://bugs.gentoo.org/199579 |
pankso@9806 | 22 busybox patch -p0 -i $stuff/flac-1.2.1_gcc4.u |
pankso@292 | 23 cd $src |
pankso@292 | 24 ./configure \ |
pankso@292 | 25 --prefix=/usr \ |
pankso@292 | 26 --mandir=/usr/share/man \ |
pascal@1451 | 27 $CONFIGURE_ARGS && |
pascal@1451 | 28 make && |
pankso@9806 | 29 make DESTDIR=$DESTDIR install |
pankso@292 | 30 } |
pankso@292 | 31 |
pankso@292 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@292 | 33 genpkg_rules() |
pankso@292 | 34 { |
pankso@292 | 35 mkdir -p $fs/usr/lib |
pascal@15588 | 36 cp -a $install/usr/bin $fs/usr |
pascal@15588 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@292 | 38 } |
pankso@292 | 39 |