# SliTaz package receipt.

PACKAGE="rpcsvc-proto"
VERSION="1.4"
CATEGORY="development"
SHORT_DESC="rpcsvc protocol definitions from glibc"
MAINTAINER="shann@slitaz.org"
LICENSE="BSD3"
WEB_SITE="https://github.com/thkukuk/rpcsvc-proto"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/thkukuk/rpcsvc-proto/archive/v$VERSION/$TARBALL"

BUILD_DEPENDS="automake"

compile_rules()
{
	autoreconf -fi &&
	./configure $CONFIGURE_ARGS &&
	make &&
	make install
}

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