# SliTaz package receipt.

PACKED_SIZE="20.0K"
UNPACKED_SIZE="40.0K"
PACKAGE="libogg"
VERSION="1.3.0"
CATEGORY="multimedia"
SHORT_DESC="OGG library from Xiph.org project."
MAINTAINER="pankso@slitaz.org"
DEPENDS="glibc-base"
TARBALL="$PACKAGE-$VERSION.tar.xz"
WEB_SITE="http://www.xiph.org/"
WGET_URL="http://downloads.xiph.org/releases/ogg/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure --prefix=/usr --infodir=/usr/share/info \
	--mandir=/usr/share/man $CONFIGURE_ARGS
	make
	make -j1 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
}

