CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
libump: Initial commit
[ports/orangepipc-arm.git] / libump / Pkgfile
1 # Description: Unified Memory Provider, userspace library
2 # URL: https://github.com/linux-sunxi/libump
3 # Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5 # Depends on:
6
7 name=libump
8 version=git
9 release=1
10 source=()
11
12 build() {
13 if [ ! -d $PKGMK_SOURCE_DIR/$name ]; then
14 git clone https://github.com/linux-sunxi/libump.git $PKGMK_SOURCE_DIR/$name
15 else
16 cd $PKGMK_SOURCE_DIR/$name && git fetch
17 fi
18 cp -r $PKGMK_SOURCE_DIR/$name $SRC
19
20 mkdir -p $PKG/usr/lib
21
22 cd $SRC/$name
23 autoreconf -i
24 ./configure --prefix=/usr
25 make
26 make DESTDIR=$PKG install
27 }