wok annotate xorg-xinit/receipt @ rev 17423
linux-uml: hardlink on fifos, sockets, char & block devices and symlinks in initramfs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 04 16:09:50 2014 +0100 (2014-12-04) |
parents | 94c875a8a7ee |
children | 277a89773ba6 |
rev | line source |
---|---|
jozee@3328 | 1 # SliTaz package receipt. |
jozee@3328 | 2 |
jozee@3328 | 3 PACKAGE="xorg-xinit" |
slaxemulator@11136 | 4 VERSION="1.3.1" |
jozee@3328 | 5 CATEGORY="x-window" |
jozee@3328 | 6 SHORT_DESC="X.org initialization program" |
jozee@3328 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
jozee@3328 | 9 SOURCE="xinit" |
jozee@3328 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
jozee@3328 | 11 WEB_SITE="http://xorg.freedesktop.org/" |
jozee@3328 | 12 WGET_URL="$WEB_SITE/releases/individual/app/$TARBALL" |
jozee@3328 | 13 TAGS="utility xorg" |
jozee@3328 | 14 |
pascal@15579 | 15 DEPENDS="xorg-xauth" |
pascal@15579 | 16 BUILD_DEPENDS="xorg-libXmu-dev" |
pascal@15579 | 17 |
jozee@3328 | 18 # Rules to configure and make the package.ls sr |
jozee@3328 | 19 compile_rules() |
jozee@3328 | 20 { |
jozee@3328 | 21 cd $src |
pascal@8974 | 22 patch -Np1 -i $stuff/06_move_serverauthfile_into_tmp.diff |
jozee@3328 | 23 ./configure \ |
jozee@3328 | 24 --prefix=/usr \ |
jozee@3328 | 25 --mandir=/usr/share/man \ |
jozee@3328 | 26 $CONFIGURE_ARGS && |
jozee@3328 | 27 make XINITDIR=/etc/X11/xinit && |
pascal@15579 | 28 make XINITDIR=/etc/X11/xinit DESTDIR=$DESTDIR install |
jozee@3328 | 29 } |
jozee@3328 | 30 |
jozee@3328 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@3328 | 32 genpkg_rules() |
jozee@3328 | 33 { |
slaxemulator@7326 | 34 mkdir -p $fs/usr $fs/etc/X11/xinit |
pascal@15579 | 35 cp -a $install/usr/bin $fs/usr |
pascal@8974 | 36 cp -a $stuff/xserverrc $fs/etc/X11/xinit/xserverrc |
jozee@3328 | 37 } |
jozee@3328 | 38 |
jozee@3328 | 39 pre_install() |
jozee@3328 | 40 { |
jozee@3328 | 41 cp -a /usr/bin/startx /usr/bin/startx.bak |
jozee@3328 | 42 } |