wok-next annotate libcdio-paranoia/receipt @ rev 20698
tor: oh, I see there is DEPENDS below
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed May 23 15:22:22 2018 +0000 (2018-05-23) |
parents | 2e9df1b30cc2 |
children | d5aab818505e |
rev | line source |
---|---|
al@19850 | 1 # SliTaz package receipt v2. |
al@19850 | 2 |
al@19850 | 3 PACKAGE="libcdio-paranoia" |
al@19850 | 4 VERSION="10.2+0.94+2" # please, synchronize this version (x+0.94+x) with libcdio |
al@19850 | 5 CATEGORY="multimedia" |
al@19850 | 6 SHORT_DESC="Port of xiph.org's cdda paranoia to use libcdio for CDROM access" |
al@19850 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19850 | 8 LICENSE="GPL3" |
al@19850 | 9 WEB_SITE="https://www.gnu.org/software/libcdio/" |
al@19850 | 10 |
al@19850 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19850 | 12 WGET_URL="https://ftp.gnu.org/gnu/libcdio/$TARBALL" |
al@19850 | 13 |
al@19850 | 14 BUILD_DEPENDS="libcdio-dev" |
al@19850 | 15 SPLIT="libcdio-paranoia-dev" |
al@19850 | 16 |
al@20575 | 17 compile_rules() { |
al@19850 | 18 ./configure \ |
al@19850 | 19 --enable-cpp-progs \ |
al@19850 | 20 --disable-static \ |
al@19850 | 21 --disable-example-progs \ |
al@19850 | 22 $CONFIGURE_ARGS && |
al@20575 | 23 fix libtool && |
al@20575 | 24 make && |
al@20575 | 25 make install |
al@19850 | 26 } |
al@19850 | 27 |
al@20575 | 28 genpkg_rules() { |
al@19850 | 29 case $PACKAGE in |
al@19850 | 30 libcdio-paranoia) |
al@19850 | 31 copy @std |
al@19850 | 32 DEPENDS="libcdio" |
al@19850 | 33 ;; |
al@19850 | 34 *-dev) |
al@19850 | 35 copy @dev |
al@19850 | 36 DEPENDS="libcdio-paranoia libcdio-dev" |
al@19850 | 37 ;; |
al@19850 | 38 esac |
al@19850 | 39 } |