# HG changeset patch # User Pascal Bellard # Date 1204893691 0 # Node ID d40c51606c0faf85b312d3afade9dde02fd05d23 # Parent 3cf0b6c08c5759b8706c7f6cca13f1ec4f500601 Add: xorg-imake diff -r 3cf0b6c08c57 -r d40c51606c0f xorg-imake/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xorg-imake/receipt Fri Mar 07 12:41:31 2008 +0000 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="xorg-imake" +VERSION="1.0.2" +CATEGORY="x-window" +SHORT_DESC="X imake utility." +MAINTAINER="pascal.bellard@slitaz.org" +BUILD_DEPENDS="xorg-dev-proto" +SOURCE="imake" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://www.x.org/" +WGET_URL="$XORG_MIRROR/util/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr --mandir=/usr/share/man \ + $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install + chmod +x $PWD/_pkg/usr/bin/* +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/bin $fs/usr +}