Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add example build scripts for dbd-mysql and yum

  • Loading branch information...
commit 3d28224348a42e00ebf8aaa2aa24103b7242fa15 1 parent bcadd75
@eam eam authored
View
10 examples/cpan-dbd-mysql/index.yaml
@@ -0,0 +1,10 @@
+default:
+ name: cpan-dbd-mysql
+ cpan-module: DBD::mysql
+ preferach: i386
+ perl: /usr/local/bin/perl
+ env:
+ PERLTEST=no
+ PERLINSTALL: INSTALLDIRS=perl
+
+# cpan-module will fetch directly from CPAN
View
14 examples/yum/index.yaml
@@ -0,0 +1,14 @@
+default:
+ arch: noarch
+ name: yum
+ version: '2.4.0'
+ summary: 'yellowdog updater, modified'
+ requires:
+ - python
+ - python-sqlite
+ - python-urlgrabber
+ - python-celementtree
+
+# supply yum-2.4.0.tar.gz in this directory
+# from http://yum.baseurl.org/download/2.4/yum-2.4.0.tar.gz, md5sum c19a471ef5f72ddca3f100a60a07d1b3
+
View
10 examples/yum/patches/01-fix-conf
@@ -0,0 +1,10 @@
+--- yum-2.4.0/etc/Makefile 2005-03-27 22:30:17.000000000 -0800
++++ yum-2.4.0-noconf/etc/Makefile 2006-10-19 18:17:23.000000000 -0700
+@@ -12,7 +12,6 @@ install:
+ #install -m 644 yum.pam $(DESTDIR)/etc/pam.d/yum
+
+ mkdir -p $(DESTDIR)/etc/yum.repos.d
+- install -m 644 yum.conf $(DESTDIR)/etc/yum.conf
+
+ mkdir -p $(DESTDIR)/etc/cron.daily
+ install -m 755 yum.cron $(DESTDIR)/etc/cron.daily/yum.cron
View
4 examples/yum/scripts/build
@@ -0,0 +1,4 @@
+#!/bin/sh
+make || exit 1
+make install DESTDIR=$DESTDIR || exit 1
+rm -f $DESTDIR/usr/local/info/dir
Please sign in to comment.
Something went wrong with that request. Please try again.