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.
 
 
 
 
 
 

38 lines
1.7 KiB

# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../mime-support/mime-support.conf
# Copyright (C) 2009 The OpenSDE 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 ---
makeopt=
makeinstopt=
hook_add premake 5 "mime_install"
mime_install()
{
mkdir -p $root/usr/lib/mime/packages
mkdir -p $root/usr/share/man/man1 $root/usr/share/man/man5 $root/usr/share/man/man8
mkdir -p $rooti$docdir/mime-support
install -m 644 mime.types $root$sysconfdir
install -m 644 mailcap $root/usr/lib/mime/
install -m 644 mailcap.order $root$sysconfdir
install -m 644 mailcap.man $root$mandir/man5/mailcap.5
install -m 644 mailcap.order.man $root$mandir/man5/mailcap.order.5
install -m 755 update-mime $root$sbindir
install -m 644 update-mime.man $root$mandir/man8/update-mime.8
install -m 755 run-mailcap $root$bindir
install -m 644 run-mailcap.man $root$mandir/man1/run-mailcap.1
install -m 644 debian/README $root$docdir/mime-support/copyright
install -m 755 debian-view $root/usr/lib/mime/
install -m 755 playaudio $root/usr/lib/mime/
install -m 755 playdsp $root/usr/lib/mime/
install -m 644 mailcap.entries $root/usr/lib/mime/packages/mime-support
}