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.
47 lines
1.2 KiB
47 lines
1.2 KiB
#!/bin/bash |
|
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
# |
|
# Filename: package/.../package-modular-x.sh |
|
# 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 --- |
|
|
|
curl http://xorg.freedesktop.org/X11R7.0-RC0/everything/ | |
|
tr \" "\n" | grep "tar.bz2$" | |
|
sed -e s/.tar.bz2// -e 's/-\([0-9]\)/ \1/' | |
|
while read pkg ver |
|
do |
|
echo $pkg $ver |
|
file=$pkg |
|
pkg=`echo $pkg | tr A-Z a-z` |
|
mkdir -p package/x11-modular/$pkg |
|
cat > package/x11-modular/$pkg/$pkg.desc <<-EOT |
|
[I] A modular X package |
|
|
|
[T] A modular X package |
|
|
|
[U] http://www.X.org |
|
|
|
[A] X.org Foundation {http://www.X.org} |
|
[M] Rene Rebe <rene@t2-project.org> |
|
|
|
[C] base/x11 |
|
|
|
[L] OpenSource |
|
[S] Stable |
|
[V] $ver |
|
[P] X -----5---9 112.600 |
|
|
|
[O] . package/x11-modular/*/modular-x-conf.in |
|
|
|
[D] 0 $file-$ver.tar.bz2 http://xorg.freedesktop.org/X11R7.0-RC0/everything/ |
|
EOT |
|
done |
|
|
|
|