You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

46 lines
1.3 KiB

# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../xproto/xproto.conf
# Copyright (C) 2007 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
x_dirtree() {
lib=lib
ln -sfnv X11R7 $root/usr/X11
if [ "$SDECFG_MULTILIB" = 1 ]; then
case $arch_machine in
powerpc64|sparc64|x86_64|mips64)
lib=lib64
# symlink lib -> lib64
ln -sfnv $lib $root/usr/X11/lib
;;
esac
fi
mkdir -p $root/etc/X11/app-defaults
mkdir -p $root/usr/X11/$lib/X11
# FIXME maybe link to /usr/share/fonts?
mkdir -p $root/usr/X11/share/fonts
ln -sfnv ../../share/fonts $root/usr/X11/$lib/X11/fonts
ln -sfnv ../X11/bin $root/usr/bin/X11
ln -sfnv ../X11/include/X11 $root/usr/include/X11
ln -sfnv ../X11/$lib $root/usr/$lib/X11
ln -sfv /etc/X11/app-defaults $root/usr/X11/$lib/X11/
}
hook_add postmake 5 x_dirtree