wok-current annotate opus-tools/receipt @ rev 15078
grub: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 17:02:48 2013 +0000 (2013-08-13) |
parents | 60c00c202374 |
children | 03e956551b77 |
rev | line source |
---|---|
pascal@13361 | 1 # SliTaz package receipt. |
pascal@13361 | 2 |
pascal@13361 | 3 PACKAGE="opus-tools" |
pascal@13361 | 4 VERSION="0.1.5" |
pascal@13361 | 5 CATEGORY="multimedia" |
pascal@13361 | 6 SHORT_DESC="Opus encoder, decoder and tiny tools." |
pascal@13361 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
pascal@13361 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13361 | 10 WEB_SITE="http://opus-codec.org/" |
pascal@13361 | 11 WGET_URL="http://downloads.xiph.org/releases/opus/$TARBALL" |
pascal@13361 | 12 |
pascal@13361 | 13 DEPENDS="libogg" |
pascal@13361 | 14 BUILD_DEPENDS="libogg libogg-dev opus pkgconfig" |
pascal@13361 | 15 |
pascal@13361 | 16 # Rules to configure and make the package. |
pascal@13361 | 17 compile_rules() |
pascal@13361 | 18 { |
pascal@13361 | 19 cd $src |
pascal@13361 | 20 ./configure --prefix=/usr \ |
pascal@13361 | 21 $CONFIGURE_ARGS && \ |
pascal@13361 | 22 make && make DESTDIR=$DESTDIR install |
pascal@13361 | 23 } |
pascal@13361 | 24 |
pascal@13361 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13361 | 26 genpkg_rules() |
pascal@13361 | 27 { |
pascal@13361 | 28 mkdir -p $fs/usr |
pascal@13361 | 29 cp -a $install/usr/bin $fs/usr |
pascal@13361 | 30 } |
pascal@13361 | 31 |