diff options
author | Antonio Cardace | 2015-10-06 14:08:18 +0200 |
---|---|---|
committer | Antonio Cardace | 2015-10-06 14:08:18 +0200 |
commit | 803edb3da884791e5e73af219d005e2db8b3339f (patch) | |
tree | 6f67306acef39d781432dc99bee52f3cc5f706f0 | |
download | aur-803edb3da884791e5e73af219d005e2db8b3339f.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 25 | ||||
-rw-r--r-- | PKGBUILD | 51 | ||||
-rw-r--r-- | umview-mod-umlwip-svn.diff | 27 |
3 files changed, 103 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..423ac59313d3 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,25 @@ +pkgbase = umview-mod-umlwip-svn + pkgdesc = View-OS in user space - LWIPv6 gateway module + pkgver = r1129 + pkgrel = 2 + url = https://www.sourceforge.net/projects/view-os + arch = x86_64 + arch = i686 + license = GPL2 + makedepends = autoconf + makedepends = automake + makedepends = make + makedepends = libtool + depends = glibc>=2.4 + depends = libumlib0-svn + depends = liblwipv6-svn + provides = umview-mod-umlwip-svn=r1129 + conflicts = umview-mod-umlwip-svn + replaces = umview-mod-umlwip-svn + source = svn+http://svn.code.sf.net/p/view-os/code/trunk/xmview-os + source = umview-mod-umlwip-svn.diff + md5sums = SKIP + md5sums = 15fd402dc118bf82c65e4c31d808f530 + +pkgname = umview-mod-umlwip-svn + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..713f889055c5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,51 @@ +# Maintainer: Antonio Cardace <anto.cardace@gmail.com> +pkgname=umview-mod-umlwip-svn +pkgver=r1129 +pkgrel=2 +pkgdesc="View-OS in user space - LWIPv6 gateway module" +arch=('x86_64' 'i686') +url="https://www.sourceforge.net/projects/view-os" +license=('GPL2') +depends=('glibc>=2.4' + 'libumlib0-svn' + 'liblwipv6-svn') +makedepends=('autoconf' 'automake' 'make' 'libtool') +provides=("$pkgname=$pkgver") +conflicts=("$pkgname") +replaces=("$pkgname") +source=("svn+http://svn.code.sf.net/p/view-os/code/trunk/xmview-os" + "${pkgname}.diff") +md5sums=("SKIP" + "15fd402dc118bf82c65e4c31d808f530") + +pkgver() { + cd "$srcdir/xmview-os" + local ver="$(svnversion)" + printf "r%s" "${ver//[[:alpha:]]}" +} + +prepare() { + cd $srcdir/xmview-os + patch -i ../../${pkgname}.diff Makefile.am +} + +build(){ + cd "$srcdir/xmview-os" + autoreconf -i &> /dev/null + if [ "$CARCH" == "x86_64" ]; then + ./configure --prefix="${pkgdir}/usr" --disable-static + else + ./configure --prefix="${pkgdir}/usr" --libdir="${pkgdir}/usr/lib32" --disable-static + fi + make +} + +package() { + cd "$srcdir/xmview-os" + make install + if [ "$CARCH" == "x86_64" ]; then + rm -rf ${pkgdir}/usr/lib/libumlib* + else + rm -rf ${pkgdir}/usr/lib32/libumlib* + fi +} diff --git a/umview-mod-umlwip-svn.diff b/umview-mod-umlwip-svn.diff new file mode 100644 index 000000000000..8427a6bede28 --- /dev/null +++ b/umview-mod-umlwip-svn.diff @@ -0,0 +1,27 @@ +*** Makefile.am 2015-10-06 14:03:17.750805891 +0200 +--- changes 2015-10-06 14:03:47.073541624 +0200 +*************** +*** 2,16 **** + + DEBUGLEVEL = 3 + +! SUBDIRS = doc include um_lib um_cmd um_testmodule umdev umdev_testmodules umdevmbr umbinfmt xmview ummisc ummisc_modules um_viewfs umnet umnet_modules umfuse_modules +! +! if ENABLE_UMDEVTAP +! SUBDIRS += umdevtap +! endif +! +! if ENABLE_UMFUSE +! SUBDIRS += umfuse +! endif + + if ENABLE_UM_LWIP + SUBDIRS += umnetlwipv6 +--- 2,8 ---- + + DEBUGLEVEL = 3 + +! SUBDIRS = um_lib + + if ENABLE_UM_LWIP + SUBDIRS += umnetlwipv6 |