wok-current annotate xorg-xprop/receipt @ rev 12916
glibc-base: handle cross installation
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 29 18:13:06 2012 +0000 (2012-05-29) |
parents | c514cc4854d8 |
children | eb8067417980 |
rev | line source |
---|---|
pankso@3019 | 1 # SliTaz package receipt. |
pankso@3019 | 2 |
pankso@3019 | 3 PACKAGE="xorg-xprop" |
slaxemulator@11135 | 4 VERSION="1.2.1" |
pankso@3019 | 5 CATEGORY="x-window" |
pankso@3019 | 6 SHORT_DESC="X xprop application." |
pankso@3019 | 7 MAINTAINER="pankso@slitaz.org" |
slaxemulator@8029 | 8 DEPENDS="xorg-libX11" |
slaxemulator@8029 | 9 BUILD_DEPENDS="xorg-libX11-dev" |
pankso@3019 | 10 SOURCE="xprop" |
gokhlayeh@6993 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@3019 | 12 WEB_SITE="http://www.x.org/" |
pankso@3019 | 13 WGET_URL="$XORG_MIRROR/app/$TARBALL" |
pankso@3019 | 14 |
pankso@3019 | 15 # Rules to configure and make the package. |
pankso@3019 | 16 compile_rules() |
pankso@3019 | 17 { |
pankso@3019 | 18 cd $src |
pankso@3019 | 19 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pankso@3019 | 20 $CONFIGURE_ARGS && |
pankso@3019 | 21 make && |
pankso@3019 | 22 make DESTDIR=$PWD/_pkg install |
pankso@3019 | 23 } |
pankso@3019 | 24 |
pankso@3019 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3019 | 26 genpkg_rules() |
pankso@3019 | 27 { |
pankso@3019 | 28 mkdir -p $fs/usr |
pankso@3019 | 29 cp -a $_pkg/usr/bin $fs/usr |
pankso@3019 | 30 } |