Magellan Linux

Contents of /trunk/extras/livecdsystem26/livecdsystem26-0.10-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2908 - (show annotations) (download)
Tue Jul 14 18:28:57 2009 UTC (15 years, 3 months ago) by niro
File size: 3669 byte(s)
-ver bump to 0.10-r1
1 # $Id$
2
3 PNAME="livecdsystem26"
4 PVER="0.10"
5 PBUILD="r1"
6
7 PCATEGORIE="fake"
8 STATE="unstable"
9
10 PKGTYPE="virtual"
11 NOPKGBUILD=true
12
13 DESCRIPTION="Magellan LiveCD Pakages based on kernel-2.6 layout."
14 HOMEPAGE="http://www.magellan-linux.net/"
15
16 DEPENDS_common=">= app-mage/mage-0.4.15;
17 >= app-mage/mage-bootstrap-1.9;
18 >= sys-apps/initscripts-0.5;
19 >= virtual/kernel;
20 >= sys-fs/udev-142;
21 >= sys-libs/libstdc++-4.3;
22 >= sys-libs/readline-6.0;
23 >= sys-apps/coreutils-7.4;
24 >= sys-libs/zlib-1.2;
25 >= sys-apps/findutils-4.4;
26 >= sys-apps/gawk-3.1.6;
27 >= sys-apps/less-429;
28 >= sys-apps/net-tools-1.60;
29 >= sys-apps/inetutils-1.6;
30 >= sys-apps/file-5.03;
31 >= sys-apps/kbd-1.15;
32 >= sys-fs/e2fsprogs-1.41;
33 >= sys-fs/reiserfsprogs-3.6.21;
34 >= sys-fs/xfsprogs-3.0;
35 >= sys-apps/grep-2.5.4;
36 >= sys-apps/module-init-tools-3.8;
37 >= sys-apps/procps-3.2.8;
38 >= sys-apps/psmisc-22.7;
39 >= sys-apps/shadow-4.1.4;
40 >= sys-apps/debianutils-2.30;
41 >= virtual/syslog;
42 >= sys-apps/tar-1.22;
43 >= sys-apps/util-linux-2.15;
44 >= virtual/editor;
45 >= net-misc/dhcpcd-5.0;
46 >= net-misc/wget-1.11;
47 >= net-misc/rsync-3.0.6;
48 >= sys-apps/diffutils-2.8.7;
49 >= dev-util/dialog-1.1;
50 >= sys-apps/hdparm-9.15;
51 >= sys-apps/hwdata-knoppix-0.172;
52 >= sys-apps/hwsetup-1.2;
53 >= net-misc/iptables-1.4;
54 >= sys-apps/lshw-02.14;
55 >= net-www/lynx-2.8.6;
56 >= net-dialup/mingetty-1.08;
57 >= net-ftp/ncftp-3.2;
58 >= net-misc/openssh-5.2;
59 >= sys-apps/pciutils-3.1;
60 >= app-misc/screen-4.0.3;
61 >= sys-fs/dosfstools-2.11;
62 >= net-wlan/wireless-tools-30;
63 >= net-wlan/wpa-supplicant-0.5;
64 >= net-dialup/ppp-2.4;
65 >= net-dialup/rp-pppoe-3.10;"
66
67 DEPENDS_x86="${DEPENDS_common}; >= sys-apps/ddcxinfo-knoppix-0.6"
68 DEPENDS_x86_64="${DEPENDS_common}"
69
70 # very derty trick to get the dependencies right
71 # ; is the IFS, tr replaces ; with an crlfs
72 # the var ist decided with our common eval+echo magic
73 DEPEND="\$(eval echo \\\$DEPENDS_\${ARCH/i*86/x86} | tr ';' '\n')"
74
75 # theses var must be exported to the mage file to get all things right
76 SPECIAL_VARS="DEPENDS_common DEPENDS_x86 DEPENDS_x86_64"
77
78 src_install()
79 {
80 echo
81 echo "This is only a fake smage2 for ${PNAME}-${PVER}-${PBUILD}."
82 echo "No Package will be build."
83 echo
84 }
85
86 postinstall()
87 {
88 echo
89 echo "Whipping out unwanted files and packages ..."
90 echo
91 echo "Press [Enter] to continue"
92 echo
93 read
94
95 # kill info
96 rm -rf ${MROOT}/usr/share/info
97 # kill man
98 rm -rf ${MROOT}/usr/share/man
99 # kill doc
100 rm -rf ${MROOT}/usr/share/doc
101 # kill includes
102 rm -rf ${MROOT}/usr/include
103 # kill pkgconfig
104 rm -rf ${MROOT}/usr/lib/pkgconfig
105 # kill aclocal
106 rm -rf ${MROOT}/usr/share/aclocal
107
108 # kill tmps
109 rm -rf ${MROOT}/tmp/*
110 rm -rf ${MROOT}/var/tmp/*
111
112 # uninstall unneeded packages
113 MY_MROOT="${MROOT}"
114
115 MAGE_UNINSTALL_TIMEOUT=0 MROOT="${MY_MROOT}" mage uninstall groff
116 MAGE_UNINSTALL_TIMEOUT=0 MROOT="${MY_MROOT}" mage uninstall texinfo
117 MAGE_UNINSTALL_TIMEOUT=0 MROOT="${MY_MROOT}" mage uninstall gettext
118 MAGE_UNINSTALL_TIMEOUT=0 MROOT="${MY_MROOT}" mage uninstall libtool
119
120 MROOT="${MY_MROOT}"
121
122 find ${MROOT}/lib -name '*.la' | xargs rm
123 find ${MROOT}/lib -name '*.a' | xargs rm
124
125 find ${MROOT}/usr/lib -name '*.la' | xargs rm
126 find ${MROOT}/usr/lib -name '*.a' | xargs rm
127
128 # strip some packages
129 # awk
130 rm -rf ${MROOT}/usr/lib/awk
131 rm -rf ${MROOT}/usr/share/awk
132 # perl
133 rm -rf ${MROOT}/usr/lib/perl5
134 # # glibc
135 # rm -rf ${MROOT}/usr/lib/gconv
136 # rm -rf ${MROOT}/usr/share/i18n
137 # glib2
138 rm -rf ${MROOT}/usr/lib/glib-2.0
139 rm -rf ${MROOT}/usr/share/glib-2.0
140 rm -rf ${MROOT}/usr/share/gtk-doc
141
142 # # no locales needed atm
143 # rm -rf ${MROOT}/usr/lib/locale
144 # rm -rf ${MROOT}/usr/share/locale
145 # install -d ${MROOT}/etc/env.d
146 # echo 'LC_ALL=C' > ${MROOT}/etc/env.d/35locale
147 }

Properties

Name Value
svn:keywords Id