# SliTaz package receipt. PACKAGE="libcdio" VERSION="0.82" CATEGORY="multimedia" SHORT_DESC="GNU Compact Disc Input and Control Library" MAINTAINER="rj.rohit@gmail.com" DEPENDS="ncurses gcc-lib-base" BUILD_DEPENDS="ncurses-dev gcc-lib-base" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.gnu.org/software/libcdio/" WGET_URL="http://ftp.gnu.org/gnu/libcdio/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src grep -qs 'define u8' lib/driver/gnu_linux.c || sed -i 's|#include |#define u8 __u8\n&|' \ lib/driver/gnu_linux.c ./configure --prefix=/usr --disable-vcd-info \ $CONFIGURE_ARGS && make && make DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $_pkg/usr/lib/*.so* $fs/usr/lib }