Contents of /smage/branches/alx-0_6_0/core/basesystem/basesystem-0.7.0-r1.smage2
Parent Directory | Revision Log
Revision 1958 -
(show annotations)
(download)
Fri May 6 20:41:20 2011 UTC (13 years, 1 month ago) by niro
File size: 3105 byte(s)
Fri May 6 20:41:20 2011 UTC (13 years, 1 month ago) by niro
File size: 3105 byte(s)
-fixed dependencies
1 | # $Id$ |
2 | |
3 | PNAME="basesystem" |
4 | PVER="0.7.0" |
5 | PBUILD="r1" |
6 | |
7 | PKGTYPE="virtual" |
8 | |
9 | PCATEGORIE="fake" |
10 | STATE="unstable" |
11 | |
12 | DESCRIPTION="ALX Core Pakages based on kernel-2.6 layout" |
13 | HOMEPAGE="http://www.magellan-linux.net" |
14 | |
15 | DEPEND=">= app-mage/mage-0.4 |
16 | >= virtual/initscripts |
17 | >= virtual/devmanager |
18 | >= virtual/kernel |
19 | >= virtual/x11 |
20 | >= sys-libs/libstdc++-4.5 |
21 | >= sys-apps/coreutils-8.10 |
22 | >= sys-libs/zlib-1.2.5 |
23 | >= sys-apps/findutils-4.4 |
24 | >= sys-apps/gawk-3.1.8 |
25 | >= virtual/less |
26 | >= virtual/net-tools |
27 | >= virtual/inetutils |
28 | >= virtual/kbd |
29 | >= sys-fs/e2fsprogs-1.41 |
30 | >= virtual/grep |
31 | >= sys-apps/grub-0.97 |
32 | >= sys-apps/module-init-tools-3.12 |
33 | >= virtual/procps |
34 | >= virtual/psmisc |
35 | >= virtual/tar |
36 | >= sys-apps/util-linux-2.19 |
37 | >= app-editors/nano-2.2 |
38 | >= virtual/dhcp |
39 | >= virtual/wget |
40 | >= net-misc/rsync-3 |
41 | >= sys-apps/diffutils-3 |
42 | >= x11-wm/fluxbox-1.3 |
43 | >= net-misc/ica-client-11 |
44 | >= net-misc/dropbear-0.53 |
45 | >= sys-apps/hwinfo-18.1 |
46 | >= dev-db/mysql-5.1 |
47 | >= app-admin/sudo-1.8 |
48 | >= net-misc/tigervnc-1.0 |
49 | >= x11-misc/xtdesktop-0.7b |
50 | >= x11-misc/xlockmore-5.33 |
51 | >= x11-misc/xautolock-2.2 |
52 | >= net-wlan/wireless-tools-30 |
53 | >= net-wlan/wpa-supplicant-0.7.3" |
54 | # >= app-alx/alxconfig-ng-0.1 |
55 | # >= x11-misc/xdialog-2.1.1 |
56 | # >= dev-lang/perl-5 |
57 | # >= sys-apps/ddcxinfo-knoppix-0.6" |
58 | |
59 | NOPKGBUILD=true |
60 | |
61 | REMOVE_DEPRECATED_MAGE_TARGETS=1 |
62 | sminclude alx |
63 | |
64 | src_install() |
65 | { |
66 | echo |
67 | echo "This is only a fake smage2 for ${PNAME}-${PVER}-${PBUILD}." |
68 | echo "No Package will be build." |
69 | echo |
70 | } |
71 | |
72 | #alx_preinstall() |
73 | #{ |
74 | ## abort if not found |
75 | #[ -x /sbin/magequery ] || ( echo "/sbin/magequery not executable ..."; return 0 ) |
76 | #echo |
77 | #echo "Checking for old kernel-alx package ..." |
78 | #mount /boot &> /dev/null |
79 | #[ -n "$(magequery -n kernel${MAGE_TARGETS})" ] && mage uninstall kernel${MAGE_TARGETS} |
80 | |
81 | ## select other pkgs for unistall |
82 | #for i in devfsd \ |
83 | #modutils \ |
84 | #opengl-update-magellan \ |
85 | #file \ |
86 | #procinfo \ |
87 | #texinfo \ |
88 | #fcron \ |
89 | #logrotate \ |
90 | #libol \ |
91 | #syslog-ng \ |
92 | #xfree \ |
93 | #hwdata-knoppix \ |
94 | #hwsetup \ |
95 | #hotplug \ |
96 | #vnc |
97 | #do |
98 | #echo |
99 | #echo "Checking for old ${i}-alx package ..." |
100 | #[ -n "$(magequery -n ${i}${MAGE_TARGETS})" ] && MAGE_UNINSTALL_TIMEOUT=0 mage uninstall ${i}${MAGE_TARGETS} |
101 | #done |
102 | |
103 | #for i in fcron syslog-ng |
104 | #do |
105 | #rc-config del ${i} |
106 | #done |
107 | #} |
108 | |
109 | #alx_postinstall() { |
110 | #[ -f /etc/conf.d/kernel ] && \ |
111 | #sed -i "s:^\(RC_VERBOSE_LEVEL=\).*:\10:" /etc/conf.d/kernel |
112 | |
113 | #[ -z "$(magequery -n xorg${MAGE_TARGETS})" ] && mage install xorg${MAGE_TARGETS} |
114 | #[ -z "$(magequery -n kernel26-alx${MAGE_TARGETS})" ] && mage install kernel26-alx${MAGE_TARGETS} |
115 | |
116 | ## remove old alxconfig-ng package (without targets) |
117 | #[ -n "$(magequery -n alxconfig-ng)" ] && mage uninstall alxconfig-ng |
118 | |
119 | ## where are so new, force rerun of the hwdetection |
120 | #touch /hardware-auto-detection |
121 | #} |
122 | |
123 | #preinstall() { |
124 | #if target_alx; then |
125 | #alx_preinstall |
126 | #else |
127 | #echo "MAGE_TARGET is not -alx but ${MAGE_TARGETS}." |
128 | #echo "Not running alx_preinstall() ..." |
129 | #fi |
130 | #} |
131 | |
132 | #postinstall() { |
133 | #if target_alx; then |
134 | #alx_postinstall |
135 | #else |
136 | #echo "MAGE_TARGET is not -alx but ${MAGE_TARGETS}." |
137 | #echo "Not running alx_postinstall() ..." |
138 | #fi |
139 | #} |