diff --git a/srcpkgs/flashrom/template b/srcpkgs/flashrom/template new file mode 100644 index 0000000000..8479ef9ebe --- /dev/null +++ b/srcpkgs/flashrom/template @@ -0,0 +1,22 @@ +# Template file for 'flashrom' +pkgname=flashrom +version=0.9.6.1 +revision=1 +short_desc="utility for identifying, reading, writing, verifying and erasing flash chips" +maintainer="pancake " +makedepends="pciutils-devel" +homepage="http://www.flashrom.org" +license="MIT/X11" +distfiles=http://download.flashrom.org/releases/$pkgname-$version.tar.bz2 +checksum=6f7b588cce74c90b4fe9c9c794de105de76e0323442fb5770b1aeab81e9d560a + +do_build() { + make PREFIX=/usr ${makejobs} \ + CONFIG_INTERNAL=no CONFIG_RAYER_SPI=no CONFIG_NIC3COM=no CONFIG_GFXNVIDIA=no CONFIG_SATASII=no \ + CONFIG_ATAHPT=no CONFIG_DRKAISER=no CONFIG_NICREALTEK=no CONFIG_NICNATSEMI=no \ + CONFIG_NICINTEL=no CONFIG_NICINTEL_SPI=no CONFIG_OGP_SPI=no CONFIG_SATAMV=no +} + +do_install() { + make install DESTDIR=${DESTDIR} PREFIX=/usr +} diff --git a/srcpkgs/mono/template b/srcpkgs/mono/template new file mode 100644 index 0000000000..3c83196e45 --- /dev/null +++ b/srcpkgs/mono/template @@ -0,0 +1,12 @@ +# Template file for 'mono' +pkgname=mono +version=3.0.7 +revision=1 +build_style=gnu-configure +makedepends="zlib libtool perl" +short_desc="Free implementation of the .NET platform including runtime and compiler" +maintainer="pancake " +homepage="http://www.go-mono.org" +license="GPL-2, LGPL-2, MPL, MITX11" +distfiles="http://download.mono-project.com/sources/mono/$pkgname-$version.tar.bz2" +checksum=89357e58a1b5cb6ff3116d4ce8227dee61b1c0cb494fa2844da5b1fc55fb890b diff --git a/srcpkgs/nodejs/template b/srcpkgs/nodejs/template index 9dcfc35658..60e2781603 100644 --- a/srcpkgs/nodejs/template +++ b/srcpkgs/nodejs/template @@ -1,6 +1,6 @@ # Template file for 'nodejs' pkgname=nodejs -version=0.10.0 +version=0.10.4 revision=1 wrksrc=node-v${version} short_desc="Evented I/O for V8 javascript" @@ -8,7 +8,7 @@ maintainer="davehome " license="MIT" homepage="http://nodejs.org/" distfiles="${homepage}/dist/v${version}/node-v${version}.tar.gz" -checksum=1624dc37866ebfb5431e3393e6b049cf238cac8ad4d20c6d567263b1259177ab +checksum=1c960d2822447a9e4f7c46b832ff05e86743033c6643d644975af1cbf6a44fb8 makedepends="pkg-config openssl-devel v8-devel zlib-devel python" diff --git a/srcpkgs/pciutils/template b/srcpkgs/pciutils/template index 05d66482f8..3f82624691 100644 --- a/srcpkgs/pciutils/template +++ b/srcpkgs/pciutils/template @@ -14,16 +14,19 @@ long_desc=" setting devices connected to the PCI bus." do_build() { - make OPT="${XBPS_CFLAGS} -fPIC -DPIC" ZLIB=no SHARED=no PREFIX=/usr \ + make OPT="${XBPS_CFLAGS} -fPIC -DPIC" ZLIB=no SHARED=no AR=${AR} \ + RANLIB=${RANLIB} PREFIX=/usr CC="${CC}" \ SHAREDIR=/usr/share/hwdata MANDIR=/usr/share/man all cp lib/libpci.a ${XBPS_MASTERDIR}/tmp make clean - make OPT="${XBPS_CFLAGS} -fPIC -DPIC" ZLIB=no SHARED=yes PREFIX=/usr \ + make OPT="${XBPS_CFLAGS} -fPIC -DPIC" ZLIB=no SHARED=yes \ + AR=${AR} RANLIB=${RANLIB} PREFIX=/usr CC="${CC}" \ SHAREDIR=/usr/share/hwdata MANDIR=/usr/share/man all } do_install() { make SHARED=yes PREFIX=/usr SHAREDIR=/usr/share/hwdata \ + STRIP="-s --strip-program=${STRIP} " \ MANDIR=/usr/share/man DESTDIR=${DESTDIR} install install-lib vinstall ${XBPS_MASTERDIR}/tmp/libpci.a 644 usr/lib