Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

Commit

Permalink
Add fortune
Browse files Browse the repository at this point in the history
  • Loading branch information
asmeurer committed Oct 21, 2014
1 parent 31161fa commit cca5c21
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
6 changes: 6 additions & 0 deletions fortune/build.sh
@@ -0,0 +1,6 @@
sed -i -e "s:/usr/local:$PREFIX:g" Makefile
if [ `uname` == Darwin ]; then
sed -i -e "s/DBSD_REGEX/DPOSIX_REGEX/g" Makefile
fi
make install
ln -s ../games/fortune $PREFIX/bin/fortune
19 changes: 19 additions & 0 deletions fortune/meta.yaml
@@ -0,0 +1,19 @@
package:
name: fortune
version: 9708

source:
url: http://ftp.ibiblio.org/pub/linux/games/amusements/fortune/fortune-mod-9708.tar.gz
fn: fortune-mod-9708.tar.gz
sha1: e9c164677e414c3b649f12185e01f4c7ea2f083c

build:
detect_binary_files_with_prefix: true

test:
commands:
- fortune

about:
home: http://ftp.ibiblio.org/pub/linux/games/amusements/fortune/!INDEX.html
license: "BSD and Public Domain"

0 comments on commit cca5c21

Please sign in to comment.