# SliTaz package receipt.

PACKAGE="easytag"
VERSION="2.1.6"
CATEGORY="multimedia"
SHORT_DESC="Utility for viewing and editing tags on sound files."
MAINTAINER="pankso@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://easytag.sourceforge.net/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
TAGS="audio"

DEPENDS="gtk+ id3lib flac libvorbis xorg-libXdamage gcc-lib-base libid3tag"
BUILD_DEPENDS="gtk+-dev id3lib-dev id3lib expat-dev libid3tag-dev"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure \
		--prefix=/usr \
		--mandir=/usr/share/man \
		$CONFIGURE_ARGS &&
	make -j1 &&
	make -j1 DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/share
	cp -a $_pkg/usr/bin $fs/usr
	cp -a $_pkg/usr/share/pixmaps $fs/usr/share
}