#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 068
+# [V] 079
# [S] 1-9 2-15
-# [D] udev-068.tar.bz2 http://www.kernel.org/pub/linux/utils/kernel/hotplug/
+# [D] udev-079.tar.bz2 http://www.kernel.org/pub/linux/utils/kernel/hotplug/
-make_conf="udevdir=/dev $make_conf"
-install_conf="udevdir=/dev"
+#extras="extras/cdrom_id extras/scsi_id extras/volume_id extras/usb_id"
+#extras="$extras extras/ata_id extras/dasd_id extras/run_directory"
+extras=extras/run_directory
+
+make_conf="udevdir=/dev EXTRAS=$extras $make_conf"
+install_conf="udevdir=/dev EXTRAS=$extras"
u_root=$root
[ "$hdw_status" = "1" ] && u_root=/${s1_prefix}
mkdir -p $root/var/lock/subsys
# documentation
rm -rf $docdir ; mkdir -p $docdir
- cp -r docs FAQ HOWTO-udev_for_dev README* TODO $docdir
+ cp -r docs FAQ README* TODO ChangeLog RELEASE-NOTES $docdir
# config stuff
mkdir -p $u_root/etc/udev/rules.d
cp -v $confdir/udev.rules* $u_root/etc/udev/rules.d/
mkdir -p $u_root/etc/udev/scripts
- cp -v ./extras/*.sh $u_root/etc/udev/scripts/
+ cp -v ./extras/{path_id,*.sh} $u_root/etc/udev/scripts/
# init script
if [ "$hdw_status" = "2" ] ; then
cp $confdir/init_udev.sh $u_root/etc/init.d/udev
chmod 750 $u_root/etc/init.d/udev
fi
+ ln -sf $root/lib/udev/udev_run_devd $root/sbin/
+ ln -sf $root/lib/udev/udev_run_hotplugd $root/sbin/
}
# [D] tetex-src-3.0.tar.gz ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/3.0/distrib/
# [D] tetex-texmf-3.0.tar.gz ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/3.0/distrib/
# [D] tetex-texmfsrc-3.0.tar.gz ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/3.0/distrib/
+# [D] pdfcprot.dtx http://www.ctan.org/tex-archive/macros/latex2e/contrib/pdfcprot/
+# [D] pdfcprot.ins http://www.ctan.org/tex-archive/macros/latex2e/contrib/pdfcprot/
srcdir="tetex-src-$ver"
confopt="$confopt --with-system-ncurses --with-system-zlib"
gzip -dc $archdir/tetex-texmfsrc-${ver}.tar.gz | \
( umask 0; tar -C $prefix/share/texmf -xf -)
}
+
+post_install() {
+ install -v -d -m755 $prefix/share/texmf/tex/latex/pdfcprot
+ mkdir pdfcprot && cd pdfcprot
+ cp $archdir/pdfcprot.*
+ latex pdfcprot.ins
+ cp * $prefix/share/texmf/tex/latex/pdfcprot/
+ cd ..
+ texhash
+ }