• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/linenoise/linenoise.mk
Francois PerradFrancois Perrad committed 5174eb2eed202 Jun 2015
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
################################################################################
2
#
3
# linenoise
4
#
5
################################################################################
6
​
7
LINENOISE_VERSION = 1.0
8
LINENOISE_SITE = $(call github,antirez,linenoise,$(LINENOISE_VERSION))
9
LINENOISE_LICENSE = BSD-2c
10
LINENOISE_LICENSE_FILES = LICENSE
11
LINENOISE_INSTALL_STAGING = YES
12
# Static library only, nothing to install on target
13
LINENOISE_INSTALL_TARGET = NO
14
​
15
define LINENOISE_BUILD_CMDS
16
    cd $(@D); $(TARGET_CC) $(TARGET_CFLAGS) -c linenoise.c
17
    cd $(@D); $(TARGET_AR) rcu liblinenoise.a linenoise.o
18
    cd $(@D); $(TARGET_CC) $(TARGET_LDFLAGS) -o linenoise_example example.c -L. -llinenoise
19
endef
20
​
21
define LINENOISE_INSTALL_STAGING_CMDS
22
    $(INSTALL) -m 644 -D $(@D)/linenoise.h          $(STAGING_DIR)/usr/include/linenoise.h
23
    $(INSTALL) -m 644 -D $(@D)/liblinenoise.a       $(STAGING_DIR)/usr/lib/liblinenoise.a
24
    $(INSTALL) -m 755 -D $(@D)/linenoise_example    $(STAGING_DIR)/usr/bin/linenoise_example
25
endef
26
​
27
$(eval $(generic-package))
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.