xwd: add metafile support, thanks to cowbalt

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-11-16 13:18:18 +01:00
parent 951a74bb7e
commit dba080a9ac
4 changed files with 16 additions and 7 deletions

View File

@ -2,8 +2,6 @@
. config/options $1 . config/options $1
$SCRIPTS/build toolchain
cd $PKG_BUILD cd $PKG_BUILD
./configure --host=$TARGET_NAME \ ./configure --host=$TARGET_NAME \
--build=$HOST_NAME \ --build=$HOST_NAME \
@ -11,5 +9,3 @@ cd $PKG_BUILD
--sysconfdir=/etc \ --sysconfdir=/etc \
make make
$STRIP $1

View File

@ -3,5 +3,5 @@
. config/options $1 . config/options $1
mkdir -p $INSTALL/usr/bin mkdir -p $INSTALL/usr/bin
cp -PR $PKG_BUILD/$1 $INSTALL/usr/bin cp $PKG_BUILD/$1 $INSTALL/usr/bin
cp -PR $PKG_DIR/scripts/screenshot $INSTALL/usr/bin cp $PKG_DIR/scripts/screenshot $INSTALL/usr/bin

14
packages/x11/app/xwd/meta Normal file
View File

@ -0,0 +1,14 @@
PKG_NAME="xwd"
PKG_VERSION="1.0.3"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="OSS"
PKG_SITE="http://www.X.org"
PKG_URL="http://xorg.freedesktop.org/archive/individual/app/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="x11/app"
PKG_SHORTDESC="xwd: Dumps an image of an X window"
PKG_LONGDESC="Xwd is an X Window System window dumping utility. Xwd allows X users to store window images in a specially formatted dump file."
PKG_IS_ADDON="no"

View File

@ -1 +0,0 @@
http://xorg.freedesktop.org/archive/individual/app/xwd-1.0.3.tar.bz2