adopted fortune and xlockmore, removed redundant deps
This commit is contained in:
parent
eb2c9d4b22
commit
a80cc38187
14
fortune/.footprint
Normal file
14
fortune/.footprint
Normal file
@ -0,0 +1,14 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/fortune
|
||||
drwxr-xr-x root/root usr/man/
|
||||
drwxr-xr-x root/root usr/man/man6/
|
||||
-rw-r--r-- root/root usr/man/man6/fortune.6.gz
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/games/
|
||||
drwxr-xr-x root/root usr/share/games/fortunes/
|
||||
-rw-r--r-- root/root usr/share/games/fortunes/chalkboard
|
||||
-rw-r--r-- root/root usr/share/games/fortunes/discworld
|
||||
-rw-r--r-- root/root usr/share/games/fortunes/fortune
|
||||
-rw-r--r-- root/root usr/share/games/fortunes/kernelcookies
|
||||
-rw-r--r-- root/root usr/share/games/fortunes/prog-style
|
7
fortune/.md5sum
Normal file
7
fortune/.md5sum
Normal file
@ -0,0 +1,7 @@
|
||||
27ef6c6f82ebe123bb0abbd0e27577f6 fortune-0.2.patch
|
||||
559c64870f4d975859db80e25da89d2b fortune-0.2.tar.gz
|
||||
4e00763163ae6ca76f7f23e435edbe08 fortune-discworld.tgz
|
||||
e6dbf9618b39c200af2b0d36cf49ce11 fortune-mod-prog-style.tar.gz
|
||||
1602ec6df3336a7e01f857b8419c8df1 fortune-simpsons-chalkboard.tgz
|
||||
a187d3663fc9517e08785dd0f4bd2a0c fortune_big.zip
|
||||
4de18706b570d9460ed41c538627bd7a kernelcookies-8.tar.gz
|
34
fortune/Pkgfile
Normal file
34
fortune/Pkgfile
Normal file
@ -0,0 +1,34 @@
|
||||
# Description: Display a random fortune
|
||||
# URL: ftp://sunsite.cnlab-switch.ch/mirror/linux/sunsite/games/amusements/fortune/
|
||||
# Maintainer: Simone Rota, sip at varlock dot com
|
||||
# Packager: Daniel Mueller, daniel at danm dot de
|
||||
|
||||
name=fortune
|
||||
version=0.2
|
||||
release=5
|
||||
source=(ftp://sunsite.cnlab-switch.ch/mirror/linux/sunsite/games/amusements/$name/$name-$version.tar.gz \
|
||||
$name-$version.patch \
|
||||
http://dl.sourceforge.net/sourceforge/fortune4all/fortune_big.zip \
|
||||
http://www.schwarzvogel.de/pkgs/kernelcookies-8.tar.gz \
|
||||
http://www.splitbrain.org/Fortunes/simpsons/fortune-simpsons-chalkboard.tgz \
|
||||
http://www.splitbrain.org/Fortunes/discworld/fortune-discworld.tgz \
|
||||
http://db.ilug-bom.org.in/lug-authors/philip/misc/fortune-mod-prog-style.tar.gz)
|
||||
|
||||
build(){
|
||||
local cookie
|
||||
cd $name-$version
|
||||
|
||||
patch -p1 < ../$name-$version.patch
|
||||
make
|
||||
|
||||
mkdir -p $PKG/usr/{bin,man/man6,share/games/fortunes}
|
||||
|
||||
install -m 755 $name $PKG/usr/bin/$name
|
||||
install -m 644 debian/$name.6 $PKG/usr/man/man6/
|
||||
|
||||
cd $SRC
|
||||
for cookie in */prog-style */discworld */chalkboard */kernelcookies fortune
|
||||
do
|
||||
install -m 644 $cookie $PKG/usr/share/games/fortunes/
|
||||
done
|
||||
}
|
39
fortune/fortune-0.2.patch
Normal file
39
fortune/fortune-0.2.patch
Normal file
@ -0,0 +1,39 @@
|
||||
diff -Nru fortune-0.2/fortune.c fortune-0.2-new/fortune.c
|
||||
--- fortune-0.2/fortune.c 1998-10-25 01:05:19.000000000 +0200
|
||||
+++ fortune-0.2-new/fortune.c 2002-09-15 18:46:36.000000000 +0200
|
||||
@@ -30,7 +30,7 @@
|
||||
#warn Your system headers say that mmap is not supported!
|
||||
#endif
|
||||
|
||||
-#define VERSION "0.1"
|
||||
+#define VERSION "0.2"
|
||||
#define FORTUNEDIR "/usr/share/games/fortunes"
|
||||
|
||||
struct option const long_options[] =
|
||||
@@ -38,6 +38,8 @@
|
||||
{"help", no_argument, 0, 'h'},
|
||||
{"help", no_argument, 0, '?'},
|
||||
{"match", required_argument, 0, 'm'},
|
||||
+ {"set", no_argument, 0, 's'},
|
||||
+ {"out", no_argument, 0, 'o'},
|
||||
{"version", no_argument, 0, 'V'},
|
||||
{(char *)0, 0, 0, (char)0}
|
||||
};
|
||||
@@ -140,7 +142,7 @@
|
||||
char *re;
|
||||
|
||||
progname=argv[0]; re=NULL;
|
||||
- while ((c = getopt_long(argc, argv, "h?m:V",
|
||||
+ while ((c = getopt_long(argc, argv, "h?som:V",
|
||||
long_options, (int *) 0)) != EOF) {
|
||||
switch (c) {
|
||||
case 0 : break;
|
||||
@@ -150,6 +152,8 @@
|
||||
return 0;
|
||||
case 'V': fprintf(stderr,"%s version %s\n", progname, VERSION);
|
||||
return 0;
|
||||
+ case 'o': break;
|
||||
+ case 's': break;
|
||||
case 'm': re=optarg;
|
||||
default : break;
|
||||
}
|
14
xlockmore/.footprint
Normal file
14
xlockmore/.footprint
Normal file
@ -0,0 +1,14 @@
|
||||
drwxr-xr-x root/root etc/
|
||||
drwxr-xr-x root/root etc/X11/
|
||||
drwxr-xr-x root/root etc/X11/app-defaults/
|
||||
-rw-r--r-- root/root etc/X11/app-defaults/XLock
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/xglock
|
||||
---s--x--x root/bin usr/bin/xlock
|
||||
drwxr-xr-x root/root usr/man/
|
||||
drwxr-xr-x root/root usr/man/man1/
|
||||
-rw-r--r-- root/root usr/man/man1/xlock.1.gz
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/xlock/
|
||||
-rwxr-xr-x root/root usr/share/xlock/xglockrc
|
1
xlockmore/.md5sum
Normal file
1
xlockmore/.md5sum
Normal file
@ -0,0 +1 @@
|
||||
c80ae7689bf8683033ec08b652e24d83 xlockmore-5.19.tar.bz2
|
23
xlockmore/Pkgfile
Normal file
23
xlockmore/Pkgfile
Normal file
@ -0,0 +1,23 @@
|
||||
# Description: X Window System Lock Screen
|
||||
# URL: http://www.tux.org/~bagleyd/xlockmore.html
|
||||
# Maintainer: Simone Rota, sip at varlock dot com
|
||||
# Packager: Daniel Mueller, daniel at danm dot de
|
||||
# Depends on: esound, gtk, fortune
|
||||
|
||||
name=xlockmore
|
||||
version=5.19
|
||||
release=1
|
||||
source=(http://www.tux.org/~bagleyd/latest/$name-$version.tar.bz2)
|
||||
|
||||
build(){
|
||||
cd $name-$version
|
||||
./configure --prefix=/usr --enable-vtlock --enable-syslog \
|
||||
--enable-multiple-user --enable-multiple-root \
|
||||
--disable-magick --without-motif --with-opengl \
|
||||
--with-esound
|
||||
make
|
||||
make prefix=$PKG/usr xapploaddir=$PKG/etc/X11/app-defaults install
|
||||
if [ -d $PKG/usr/lib ]; then
|
||||
rm -rf $PKG/usr/lib
|
||||
fi
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user