forked from ports/contrib
cgroupfs-mount: Updated to 1.1 release removing dependency on git
This commit is contained in:
parent
9b9b486590
commit
edaaf5903c
@ -0,0 +1 @@
|
|||||||
|
3b19211793436bd96a1a5892111ce874 1.1.tar.gz
|
@ -2,25 +2,15 @@
|
|||||||
# URL: https://github.com/tianon/cgroupfs-mount
|
# URL: https://github.com/tianon/cgroupfs-mount
|
||||||
# Maintainer: James Mills, prologic at shortcircuit dot net dot au
|
# Maintainer: James Mills, prologic at shortcircuit dot net dot au
|
||||||
#
|
#
|
||||||
# Depends on: git
|
# Depends on: bash
|
||||||
|
|
||||||
name=cgroupfs-mount
|
name=cgroupfs-mount
|
||||||
version=06bcb5e9d5
|
version=1.1
|
||||||
release=1
|
release=1
|
||||||
source=()
|
source=(https://github.com/tianon/${name}/archive/${version}.tar.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $PKGMK_SOURCE_DIR
|
cd $name-$version
|
||||||
if [ ! -d $name ]; then
|
|
||||||
git clone git://github.com/tianon/cgroupfs-mount.git $name
|
|
||||||
else
|
|
||||||
cd $name
|
|
||||||
git pull --rebase
|
|
||||||
fi
|
|
||||||
cp -r $PKGMK_SOURCE_DIR/$name $SRC
|
|
||||||
|
|
||||||
cd $SRC/$name
|
|
||||||
git checkout $version
|
|
||||||
|
|
||||||
# Package
|
# Package
|
||||||
install -D -m 755 cgroupfs-mount $PKG/usr/bin/cgroupfs-mount
|
install -D -m 755 cgroupfs-mount $PKG/usr/bin/cgroupfs-mount
|
||||||
|
Loading…
x
Reference in New Issue
Block a user