wok annotate xorg-xrdb/receipt @ rev 3894
Add: xorg-xrdb
author | Liu Peng <rocky@slitaz.org> |
---|---|
date | Fri Aug 14 12:25:46 2009 +0000 (2009-08-14) |
parents | |
children | 88dcace026c6 |
rev | line source |
---|---|
rocky@3894 | 1 # SliTaz package receipt. |
rocky@3894 | 2 |
rocky@3894 | 3 PACKAGE="xorg-xrdb" |
rocky@3894 | 4 VERSION="1.0.5" |
rocky@3894 | 5 CATEGORY="x-window" |
rocky@3894 | 6 SHORT_DESC="Xrdb is a program used for accessing the X resources of a server." |
rocky@3894 | 7 MAINTAINER="rocky@slitaz.org" |
rocky@3894 | 8 DEPENDS="xorg" |
rocky@3894 | 9 BUILD_DEPENDS="xorg-libXmu-dev" |
rocky@3894 | 10 SOURCE="xrdb" |
rocky@3894 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
rocky@3894 | 12 WEB_SITE="http://www.x.org/" |
rocky@3894 | 13 WGET_URL="$XORG_MIRROR/app/$TARBALL" |
rocky@3894 | 14 |
rocky@3894 | 15 # Rules to configure and make the package. |
rocky@3894 | 16 compile_rules() |
rocky@3894 | 17 { |
rocky@3894 | 18 cd $src |
rocky@3894 | 19 ./configure --prefix=/usr \ |
rocky@3894 | 20 --mandir=/usr/share/man \ |
rocky@3894 | 21 $CONFIGURE_ARGS |
rocky@3894 | 22 make |
rocky@3894 | 23 make DESTDIR=$PWD/_pkg install |
rocky@3894 | 24 } |
rocky@3894 | 25 |
rocky@3894 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
rocky@3894 | 27 genpkg_rules() |
rocky@3894 | 28 { |
rocky@3894 | 29 mkdir -p $fs/usr |
rocky@3894 | 30 cp -a $_pkg/usr/bin $fs/usr |
rocky@3894 | 31 } |