wok-next annotate libcddb/receipt @ rev 20231
Up libsdl2, libsdl2-image, libsdl2-mixer
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Nov 06 06:41:07 2017 +0200 (2017-11-06) |
parents | a00bf44ed23d |
children | 0ec6086e21d6 |
rev | line source |
---|---|
al@19811 | 1 # SliTaz package receipt v2. |
pankso@82 | 2 |
pankso@82 | 3 PACKAGE="libcddb" |
slaxemulator@6154 | 4 VERSION="1.3.2" |
pankso@206 | 5 CATEGORY="multimedia" |
al@19811 | 6 SHORT_DESC="C library to access data on a CDDB server freedb.org" |
pankso@82 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15004 | 8 LICENSE="LGPL2" |
al@19811 | 9 WEB_SITE="http://libcddb.sourceforge.net/" |
al@19811 | 10 |
pankso@82 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@82 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@82 | 13 |
al@19811 | 14 SPLIT="libcddb-utils libcddb-dev" |
al@19811 | 15 |
pankso@82 | 16 # Rules to configure and make the package. |
pankso@82 | 17 compile_rules() |
pankso@82 | 18 { |
al@19811 | 19 # http://www.linuxfromscratch.org/blfs/view/stable/multimedia/libcddb.html |
al@19811 | 20 ./configure $CONFIGURE_ARGS && make && make install |
pankso@82 | 21 } |
pankso@82 | 22 |
pankso@82 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@82 | 24 genpkg_rules() |
pankso@82 | 25 { |
al@19811 | 26 case $PACKAGE in |
al@19811 | 27 libcddb) copy *.so*;; |
al@19811 | 28 *-utils) copy bin/; CAT="multimedia|utilities";; |
al@19811 | 29 *-dev) copy @dev;; |
al@19811 | 30 esac |
pankso@82 | 31 } |